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.000697/0.000697, allocations: 91.77 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 179 kB / 16.58 MB, free: 6.066 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.187/1.187, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5941/0.5941, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 8 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001347/0.123, allocations: 1.13 MB / 0.558 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.1235, allocations: 228.3 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.1235, allocations: 4 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.1235, allocations: 3.938 kB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.1235, allocations: 0 / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1238, allocations: 43.89 kB / 0.5583 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.1238, allocations: 23.92 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.1239, allocations: 4 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.1239, allocations: 7.984 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.124, allocations: 11.94 kB / 0.5583 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.124, allocations: 0 / 0.5583 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1241, allocations: 59.88 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.1241, allocations: 4 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.1242, allocations: 29.7 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.542e-05/0.1242, allocations: 31.94 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1242, allocations: 4 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1242, allocations: 3.938 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1243, allocations: 4 kB / 0.5584 GB, free: 10.05 MB / 430.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.0003606/0.1246, allocations: 335.6 kB / 0.5588 GB, free: 9.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1247, allocations: 16.02 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.1247, allocations: 34.56 kB / 0.5588 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.1247, allocations: 3.906 kB / 0.5588 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1248, allocations: 167 kB / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1248, allocations: 0 / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.1249, allocations: 4 kB / 0.559 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.125, allocations: 57.62 kB / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.125, allocations: 0 / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.125, allocations: 0 / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.125, allocations: 4 kB / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1252, allocations: 47.95 kB / 0.5591 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.1254, allocations: 244.9 kB / 0.5593 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1256, allocations: 50.45 kB / 0.5594 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.1256, allocations: 32.89 kB / 0.5594 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/0.1261, allocations: 445.5 kB / 0.5598 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1262, allocations: 38.56 kB / 0.5599 GB, free: 8.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1262, allocations: 0 / 0.5599 GB, free: 8.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002887/0.1265, allocations: 101.7 kB / 0.56 GB, free: 8.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1265, allocations: 51.41 kB / 0.56 GB, free: 8.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.1266, allocations: 101.8 kB / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1266, allocations: 29.7 kB / 0.5601 GB, free: 8.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.1266, allocations: 80.14 kB / 0.5602 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.1267, allocations: 3.906 kB / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1267, allocations: 4 kB / 0.5602 GB, free: 7.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.1268, allocations: 310.8 kB / 0.5605 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1268, allocations: 28 kB / 0.5605 GB, free: 7.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1269, allocations: 19.98 kB / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/0.127, allocations: 24.05 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.127, allocations: 0 / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.1272, allocations: 89.45 kB / 0.5607 GB, free: 7.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1272, allocations: 4 kB / 0.5607 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1272, allocations: 4 kB / 0.5607 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1272, allocations: 7.969 kB / 0.5607 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.1273, allocations: 11.98 kB / 0.5607 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1273, allocations: 0 / 0.5607 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.1273, allocations: 4 kB / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1273, allocations: 4 kB / 0.5607 GB, free: 7.422 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.1274, allocations: 109.8 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1274, allocations: 11.95 kB / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.1276, allocations: 80.78 kB / 0.5609 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1276, allocations: 0 / 0.5609 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1276, allocations: 0 / 0.5609 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1276, allocations: 4 kB / 0.5609 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1278, allocations: 165.8 kB / 0.5611 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1278, allocations: 3.984 kB / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.1279, allocations: 11.94 kB / 0.5611 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1279, allocations: 3.984 kB / 0.5611 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1279, allocations: 3.953 kB / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1279, allocations: 0 / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1279, allocations: 0 / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1281, allocations: 175.5 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.1281, allocations: 85 kB / 0.5613 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.1282, allocations: 0 / 0.5613 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1282, allocations: 11.95 kB / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1283, allocations: 11.95 kB / 0.5613 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1283, allocations: 0 / 0.5613 GB, free: 6.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.1283, allocations: 79.28 kB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1283, allocations: 0 / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1285, allocations: 20 kB / 0.5614 GB, free: 6.555 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004976/0.129, allocations: 0.7209 MB / 0.5621 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1292, allocations: 44 kB / 0.5622 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1292, allocations: 0 / 0.5622 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1293, allocations: 27.91 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1295, allocations: 16.08 kB / 0.5622 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1298, allocations: 146.3 kB / 0.5624 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1301, allocations: 0.677 MB / 0.563 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.772e-05/0.1301, allocations: 0 / 0.563 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1301, allocations: 7.438 kB / 0.563 GB, free: 4.828 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1301, allocations: 0 / 0.563 GB, free: 4.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009841/0.14, allocations: 1.248 MB / 0.5643 GB, free: 3.715 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1402, allocations: 181.3 kB / 0.5644 GB, free: 3.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.556, allocations: 0 / 0.5644 GB, free: 3.469 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: