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.001069/0.001069, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001109/0.001109, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8435/0.8435, allocations: 122.8 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.61 kB / 0.568 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 77.94 MB / 0.6441 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002653/0.1498, allocations: 1.416 MB / 0.6454 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.1504, allocations: 248.1 kB / 0.6457 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.1504, allocations: 0 / 0.6457 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.1504, allocations: 7.875 kB / 0.6457 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.1505, allocations: 8 kB / 0.6457 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1509, allocations: 55.83 kB / 0.6458 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.1509, allocations: 23.91 kB / 0.6458 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.151, allocations: 8 kB / 0.6458 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1511, allocations: 11.92 kB / 0.6458 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.1511, allocations: 8 kB / 0.6458 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1511, allocations: 0 / 0.6458 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1513, allocations: 63.88 kB / 0.6459 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.1513, allocations: 7.938 kB / 0.6459 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1513, allocations: 15.92 kB / 0.6459 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1515, allocations: 48.16 kB / 0.6459 GB, free: 7.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1515, allocations: 3.984 kB / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1515, allocations: 0 / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1515, allocations: 0 / 0.6459 GB, free: 7.719 MB / 494.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.0004488/0.152, allocations: 343.4 kB / 0.6463 GB, free: 7.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.152, allocations: 8.625 kB / 0.6463 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.152, allocations: 38.75 kB / 0.6463 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.1521, allocations: 4.938 kB / 0.6463 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1523, allocations: 168.3 kB / 0.6465 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.1523, allocations: 4.312 kB / 0.6465 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.1523, allocations: 4.375 kB / 0.6465 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1525, allocations: 54.17 kB / 0.6465 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1525, allocations: 3.938 kB / 0.6465 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1525, allocations: 3.984 kB / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1525, allocations: 0 / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1527, allocations: 39.95 kB / 0.6466 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.153, allocations: 245 kB / 0.6468 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1531, allocations: 46.42 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.1532, allocations: 20.91 kB / 0.6469 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.1539, allocations: 453.5 kB / 0.6473 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1539, allocations: 38.55 kB / 0.6473 GB, free: 6.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1539, allocations: 0 / 0.6473 GB, free: 6.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.1543, allocations: 77.66 kB / 0.6474 GB, free: 5.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1544, allocations: 55.39 kB / 0.6475 GB, free: 5.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.1544, allocations: 97.86 kB / 0.6476 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.1545, allocations: 25.7 kB / 0.6476 GB, free: 5.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.1545, allocations: 88.08 kB / 0.6477 GB, free: 5.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1546, allocations: 7.953 kB / 0.6477 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.1546, allocations: 13.7 kB / 0.6477 GB, free: 5.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1547, allocations: 319 kB / 0.648 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.1548, allocations: 15.98 kB / 0.648 GB, free: 5.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.1549, allocations: 15.92 kB / 0.648 GB, free: 5.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.155, allocations: 44.81 kB / 0.6481 GB, free: 5.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1551, allocations: 3.938 kB / 0.6481 GB, free: 5.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.1553, allocations: 65.73 kB / 0.6481 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1553, allocations: 7.984 kB / 0.6481 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1553, allocations: 0 / 0.6481 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1553, allocations: 0 / 0.6481 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.1554, allocations: 11.94 kB / 0.6482 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1554, allocations: 3.984 kB / 0.6482 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1555, allocations: 11.94 kB / 0.6482 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1555, allocations: 0 / 0.6482 GB, free: 5.098 MB / 494.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 8.844e-05/0.1556, allocations: 113.8 kB / 0.6483 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1557, allocations: 4 kB / 0.6483 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1559, allocations: 68.78 kB / 0.6483 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1559, allocations: 7.922 kB / 0.6484 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1559, allocations: 0 / 0.6484 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1559, allocations: 0 / 0.6484 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1561, allocations: 161.6 kB / 0.6485 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1561, allocations: 4.031 kB / 0.6485 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.1562, allocations: 7.984 kB / 0.6485 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1562, allocations: 0 / 0.6485 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1562, allocations: 4 kB / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1562, allocations: 7.938 kB / 0.6485 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1562, allocations: 0 / 0.6485 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1564, allocations: 167.5 kB / 0.6487 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1565, allocations: 77.11 kB / 0.6488 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1565, allocations: 0 / 0.6488 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.1566, allocations: 7.984 kB / 0.6488 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1566, allocations: 0 / 0.6488 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1566, allocations: 0 / 0.6488 GB, free: 4.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.1567, allocations: 87.27 kB / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1567, allocations: 0 / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.1572, allocations: 23.89 kB / 0.6489 GB, free: 4.27 MB / 494.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.0006784/0.1579, allocations: 0.7163 MB / 0.6496 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1581, allocations: 35.95 kB / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1581, allocations: 0 / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.1582, allocations: 19.98 kB / 0.6496 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1584, allocations: 0 / 0.6496 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.1588, allocations: 151.1 kB / 0.6498 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1591, allocations: 0.6732 MB / 0.6504 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.1591, allocations: 4 kB / 0.6504 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1591, allocations: 15.42 kB / 0.6505 GB, free: 2.562 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1591, allocations: 0 / 0.6505 GB, free: 2.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1763, allocations: 1.502 MB / 0.6519 GB, free: 1.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.694, allocations: 5.891 kB / 0.6519 GB, free: 1.129 MB / 494.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)