Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 105.9 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 191.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7698/0.7698, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 67.88 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002429/0.3431, allocations: 1.421 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004438/0.3436, allocations: 246.2 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.3436, allocations: 2.125 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3436, allocations: 0 / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.3437, allocations: 4.453 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.344, allocations: 58.83 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.3441, allocations: 16.52 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.3442, allocations: 12.98 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.3442, allocations: 6.25 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.3442, allocations: 13.28 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.3443, allocations: 1.438 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3444, allocations: 66.86 kB / 0.5691 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.3444, allocations: 2.625 kB / 0.5691 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3444, allocations: 11.61 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3446, allocations: 55.39 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3446, allocations: 3.234 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3446, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3446, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003505/0.345, allocations: 348.1 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.345, allocations: 10.88 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.345, allocations: 35.25 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.3451, allocations: 3.5 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.614e-05/0.3451, allocations: 164.2 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3451, allocations: 384 / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3452, allocations: 2.906 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3453, allocations: 51 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3453, allocations: 3.938 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3453, allocations: 3.984 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3454, allocations: 1.188 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3455, allocations: 33.95 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.3458, allocations: 255.5 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3459, allocations: 41.81 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.346, allocations: 24.34 kB / 0.5701 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005054/0.3465, allocations: 452.4 kB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.3465, allocations: 40.69 kB / 0.5706 GB, free: 30.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3465, allocations: 0 / 0.5706 GB, free: 30.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.3469, allocations: 79.19 kB / 0.5706 GB, free: 29.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.3469, allocations: 53.23 kB / 0.5707 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.357e-05/0.3469, allocations: 105.5 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.347, allocations: 27.17 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.347, allocations: 82.36 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.347, allocations: 8.938 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.347, allocations: 14.25 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.3471, allocations: 311.8 kB / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3472, allocations: 20.23 kB / 0.5712 GB, free: 29.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.3472, allocations: 15.48 kB / 0.5712 GB, free: 29.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3474, allocations: 41.78 kB / 0.5713 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3474, allocations: 4.969 kB / 0.5713 GB, free: 29.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.3476, allocations: 71.16 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3476, allocations: 11.19 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3476, allocations: 0.5312 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3476, allocations: 1.156 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.3477, allocations: 9.203 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3477, allocations: 1.062 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3478, allocations: 7.719 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.3478, allocations: 1.219 kB / 0.5714 GB, free: 29.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.3478, allocations: 112.3 kB / 0.5715 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3479, allocations: 5.031 kB / 0.5715 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3481, allocations: 76.25 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3481, allocations: 0.9062 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3481, allocations: 2.344 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3481, allocations: 0.75 kB / 0.5716 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3482, allocations: 159.6 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3482, allocations: 2.125 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.3483, allocations: 8.719 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3483, allocations: 1.969 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3483, allocations: 0 / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3483, allocations: 1.156 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3483, allocations: 1.594 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3485, allocations: 165.1 kB / 0.5719 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3485, allocations: 78.89 kB / 0.572 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3486, allocations: 0.9844 kB / 0.572 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.3486, allocations: 5.625 kB / 0.572 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.3487, allocations: 7.938 kB / 0.572 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3487, allocations: 5.766 kB / 0.572 GB, free: 28.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.19e-05/0.3487, allocations: 84.17 kB / 0.5721 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3487, allocations: 0 / 0.5721 GB, free: 28.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.3489, allocations: 14.45 kB / 0.5721 GB, free: 28.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004166/0.3494, allocations: 0.7125 MB / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3496, allocations: 42.98 kB / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3496, allocations: 0 / 0.5728 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.3497, allocations: 20.86 kB / 0.5728 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.3499, allocations: 3.969 kB / 0.5728 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3502, allocations: 142.9 kB / 0.573 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.721e-05/0.3503, allocations: 0.6764 MB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.922e-05/0.3504, allocations: 6.062 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.3504, allocations: 18.73 kB / 0.5737 GB, free: 27.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3504, allocations: 0 / 0.5737 GB, free: 27.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.3675, allocations: 1.468 MB / 0.5751 GB, free: 26.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.446, allocations: 3.094 kB / 0.5751 GB, free: 26.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)