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.0006959/0.0006959, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007732/0.0007732, allocations: 175.1 kB / 16.58 MB, free: 6.453 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.178/1.178, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6039/0.6039, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001237/0.137, allocations: 1.134 MB / 0.558 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.1374, allocations: 232.4 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1374, allocations: 0 / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.1374, allocations: 3.938 kB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.1375, allocations: 0 / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1377, allocations: 59.81 kB / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.166e-05/0.1378, allocations: 11.94 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.1379, allocations: 7.984 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.1379, allocations: 4 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.053e-05/0.1379, allocations: 15.92 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.1379, allocations: 4 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1381, allocations: 63.88 kB / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.1381, allocations: 0 / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.1381, allocations: 33.69 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.1382, allocations: 27.95 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.1382, allocations: 4 kB / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1382, allocations: 0 / 0.5585 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.1382, allocations: 0 / 0.5585 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.000336/0.1386, allocations: 347.6 kB / 0.5588 GB, free: 9.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1386, allocations: 12.03 kB / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.1386, allocations: 30.56 kB / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.1387, allocations: 3.906 kB / 0.5588 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.359e-05/0.1387, allocations: 171 kB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.1388, allocations: 3.938 kB / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.1388, allocations: 0 / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1389, allocations: 61.62 kB / 0.5591 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1389, allocations: 0 / 0.5591 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.139, allocations: 4 kB / 0.5591 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.139, allocations: 4 kB / 0.5591 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1391, allocations: 43.97 kB / 0.5591 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.1394, allocations: 253 kB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1395, allocations: 42.45 kB / 0.5594 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.1396, allocations: 36.89 kB / 0.5594 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.1401, allocations: 457.5 kB / 0.5599 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1401, allocations: 34.56 kB / 0.5599 GB, free: 8.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1401, allocations: 0 / 0.5599 GB, free: 8.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000287/0.1404, allocations: 101.7 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1405, allocations: 55.41 kB / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/0.1405, allocations: 97.84 kB / 0.5601 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1406, allocations: 29.64 kB / 0.5602 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.1406, allocations: 88.14 kB / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.1406, allocations: 3.906 kB / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.1406, allocations: 0 / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.1407, allocations: 310.8 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.1408, allocations: 32 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.1409, allocations: 15.98 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.431e-05/0.1409, allocations: 23.98 kB / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1409, allocations: 4.062 kB / 0.5606 GB, free: 7.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001679/0.1411, allocations: 81.52 kB / 0.5607 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1411, allocations: 4 kB / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1411, allocations: 0 / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.1412, allocations: 3.938 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.1412, allocations: 16.02 kB / 0.5607 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1412, allocations: 4 kB / 0.5607 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.1413, allocations: 4 kB / 0.5607 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1413, allocations: 0 / 0.5607 GB, free: 7.398 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.733e-05/0.1413, allocations: 117.8 kB / 0.5608 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1414, allocations: 3.953 kB / 0.5608 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1416, allocations: 80.78 kB / 0.5609 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1416, allocations: 0 / 0.5609 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1416, allocations: 0 / 0.5609 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1416, allocations: 0 / 0.5609 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1417, allocations: 157.6 kB / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1417, allocations: 0 / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1418, allocations: 23.95 kB / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1418, allocations: 3.938 kB / 0.5611 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1418, allocations: 3.953 kB / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1418, allocations: 0 / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1418, allocations: 0 / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.142, allocations: 171.5 kB / 0.5613 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.1421, allocations: 85.02 kB / 0.5613 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1421, allocations: 3.984 kB / 0.5613 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1422, allocations: 7.953 kB / 0.5614 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.1422, allocations: 7.984 kB / 0.5614 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1422, allocations: 8.031 kB / 0.5614 GB, free: 6.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.1422, allocations: 87.22 kB / 0.5615 GB, free: 6.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1423, allocations: 0 / 0.5615 GB, free: 6.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1425, allocations: 12 kB / 0.5615 GB, free: 6.535 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.000513/0.143, allocations: 0.7209 MB / 0.5622 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1432, allocations: 48 kB / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1432, allocations: 0 / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.1433, allocations: 27.97 kB / 0.5622 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1435, allocations: 12.08 kB / 0.5623 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.1438, allocations: 138.3 kB / 0.5624 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.144, allocations: 0.677 MB / 0.563 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.144, allocations: 4 kB / 0.563 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1441, allocations: 11.44 kB / 0.5631 GB, free: 4.809 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1441, allocations: 0 / 0.5631 GB, free: 4.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009673/0.1538, allocations: 1.252 MB / 0.5643 GB, free: 3.684 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.154, allocations: 181.3 kB / 0.5645 GB, free: 3.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.559, allocations: 3.938 kB / 0.5645 GB, free: 3.438 MB / 430.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/linux/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) Environment - environmentSimulation: