Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.001212/0.001213, allocations: 105.3 kB / 15.98 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.001243/0.001243, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7471/0.7471, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3631, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003101/0.3663, allocations: 1.49 MB / 0.5575 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.3668, allocations: 253.7 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.3668, allocations: 0 / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.3669, allocations: 1.938 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.3669, allocations: 6.281 kB / 0.5577 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.3673, allocations: 55.41 kB / 0.5578 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.3674, allocations: 17.73 kB / 0.5578 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3675, allocations: 8 kB / 0.5578 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.3675, allocations: 12.3 kB / 0.5578 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.3676, allocations: 13.28 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.3676, allocations: 2.938 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3678, allocations: 70.81 kB / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.3678, allocations: 1.281 kB / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.3678, allocations: 11.97 kB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3679, allocations: 60.86 kB / 0.558 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.368, allocations: 0.5312 kB / 0.558 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.368, allocations: 1.156 kB / 0.558 GB, free: 34.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.368, allocations: 0 / 0.558 GB, free: 34.96 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.0004492/0.3684, allocations: 349.9 kB / 0.5583 GB, free: 34.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3685, allocations: 9.781 kB / 0.5583 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.3685, allocations: 35.17 kB / 0.5583 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.3685, allocations: 2.625 kB / 0.5583 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.3686, allocations: 162.3 kB / 0.5585 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3687, allocations: 1.5 kB / 0.5585 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3687, allocations: 5.906 kB / 0.5585 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3688, allocations: 50.56 kB / 0.5586 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3689, allocations: 5.281 kB / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3689, allocations: 0 / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3689, allocations: 1.375 kB / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.369, allocations: 34.28 kB / 0.5586 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.3693, allocations: 248.8 kB / 0.5588 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3694, allocations: 45.45 kB / 0.5589 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.3695, allocations: 25.11 kB / 0.5589 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.3702, allocations: 460.6 kB / 0.5593 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3702, allocations: 36.59 kB / 0.5594 GB, free: 33.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3702, allocations: 0.5938 kB / 0.5594 GB, free: 33.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003135/0.3705, allocations: 81.77 kB / 0.5594 GB, free: 33.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.3706, allocations: 52.81 kB / 0.5595 GB, free: 33.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.3706, allocations: 110.3 kB / 0.5596 GB, free: 33.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3706, allocations: 28.36 kB / 0.5596 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.3707, allocations: 85.17 kB / 0.5597 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.3707, allocations: 5 kB / 0.5597 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.3707, allocations: 12.47 kB / 0.5597 GB, free: 33.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3708, allocations: 315.9 kB / 0.56 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3708, allocations: 16.95 kB / 0.56 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.3709, allocations: 14.08 kB / 0.5601 GB, free: 32.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3711, allocations: 43.36 kB / 0.5601 GB, free: 32.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3711, allocations: 3.938 kB / 0.5601 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.3713, allocations: 65.58 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3713, allocations: 5.031 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3713, allocations: 4.453 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3714, allocations: 3.109 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.3715, allocations: 9.531 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3715, allocations: 0.6562 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3715, allocations: 9.547 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3715, allocations: 2.391 kB / 0.5602 GB, free: 32.75 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 6.547e-05/0.3716, allocations: 112.9 kB / 0.5603 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3716, allocations: 2.375 kB / 0.5603 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.3719, allocations: 72.28 kB / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3719, allocations: 2.781 kB / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3719, allocations: 1.703 kB / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3719, allocations: 0 / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3721, allocations: 159.5 kB / 0.5605 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3721, allocations: 1.156 kB / 0.5605 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3721, allocations: 12.14 kB / 0.5605 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3721, allocations: 1.25 kB / 0.5606 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3722, allocations: 3.922 kB / 0.5606 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3722, allocations: 0 / 0.5606 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3722, allocations: 1.5 kB / 0.5606 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3724, allocations: 168 kB / 0.5607 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.3725, allocations: 81.59 kB / 0.5608 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3725, allocations: 0 / 0.5608 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3726, allocations: 8.078 kB / 0.5608 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3726, allocations: 2.125 kB / 0.5608 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3726, allocations: 3.938 kB / 0.5608 GB, free: 32.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.3726, allocations: 85.38 kB / 0.5609 GB, free: 32.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 3.938 kB / 0.5609 GB, free: 32.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3729, allocations: 16.11 kB / 0.5609 GB, free: 32.07 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.0005118/0.3734, allocations: 0.7154 MB / 0.5616 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3737, allocations: 35.72 kB / 0.5616 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3737, allocations: 2.438 kB / 0.5616 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.3738, allocations: 23.53 kB / 0.5617 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.374, allocations: 7.734 kB / 0.5617 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.3745, allocations: 141.9 kB / 0.5618 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3746, allocations: 0.6755 MB / 0.5625 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.109e-05/0.3746, allocations: 2.844 kB / 0.5625 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3747, allocations: 13.2 kB / 0.5625 GB, free: 30.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3747, allocations: 0 / 0.5625 GB, free: 30.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.386, allocations: 1.353 MB / 0.5638 GB, free: 30.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.3862, allocations: 184.7 kB / 0.564 GB, free: 30.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.104, allocations: 0.8125 kB / 0.564 GB, free: 30.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)