Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.004791/0.004791, allocations: 96.69 kB / 15.73 MB, free: 6.484 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.001409/0.001409, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 278.7 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9879/0.9879, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 96.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1667, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001651/0.1684, allocations: 0.5799 MB / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004593/0.1689, allocations: 191.3 kB / 0.7667 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.1689, allocations: 0 / 0.7667 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.1689, allocations: 4 kB / 0.7667 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.1689, allocations: 0 / 0.7667 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.1693, allocations: 47.84 kB / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.538e-05/0.1693, allocations: 0 / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.1694, allocations: 4 kB / 0.7667 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.1694, allocations: 3.984 kB / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.1694, allocations: 0 / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.1694, allocations: 0 / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1696, allocations: 63.88 kB / 0.7668 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.1696, allocations: 0 / 0.7668 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.1697, allocations: 0 / 0.7668 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1698, allocations: 44.09 kB / 0.7669 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1698, allocations: 0 / 0.7669 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1698, allocations: 3.938 kB / 0.7669 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1698, allocations: 0 / 0.7669 GB, free: 7.984 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003509/0.1702, allocations: 323.5 kB / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1702, allocations: 8.031 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1702, allocations: 30.75 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.1703, allocations: 0.9375 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1704, allocations: 164.3 kB / 0.7674 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1704, allocations: 4.375 kB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1704, allocations: 4.375 kB / 0.7674 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.1705, allocations: 26.27 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1705, allocations: 3.938 kB / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.1705, allocations: 0 / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1705, allocations: 0 / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.1706, allocations: 7.984 kB / 0.7674 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.1707, allocations: 145.7 kB / 0.7675 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.672e-05/0.1708, allocations: 22.52 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.1708, allocations: 8.953 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/0.1715, allocations: 453.5 kB / 0.768 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1716, allocations: 30.56 kB / 0.768 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1716, allocations: 4 kB / 0.768 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.1717, allocations: 37.64 kB / 0.7681 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1717, allocations: 55.34 kB / 0.7681 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.1718, allocations: 89.86 kB / 0.7682 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1718, allocations: 25.7 kB / 0.7682 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1718, allocations: 80.14 kB / 0.7683 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1719, allocations: 7.953 kB / 0.7683 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1719, allocations: 17.7 kB / 0.7683 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1721, allocations: 315 kB / 0.7686 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.1721, allocations: 0 / 0.7686 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.1721, allocations: 4 kB / 0.7686 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.1721, allocations: 12.8 kB / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1721, allocations: 0 / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.213e-05/0.1722, allocations: 33.7 kB / 0.7687 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1722, allocations: 8 kB / 0.7687 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1722, allocations: 3.938 kB / 0.7687 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1722, allocations: 8.031 kB / 0.7687 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.1723, allocations: 7.969 kB / 0.7687 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1723, allocations: 0 / 0.7687 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.1723, allocations: 4 kB / 0.7687 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1723, allocations: 0 / 0.7687 GB, free: 5.75 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * 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.032e-05/0.1724, allocations: 106.5 kB / 0.7688 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.1724, allocations: 0 / 0.7688 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.1725, allocations: 44.69 kB / 0.7689 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1725, allocations: 4.031 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1725, allocations: 0 / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1725, allocations: 4 kB / 0.7689 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1726, allocations: 145.7 kB / 0.769 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1726, allocations: 0 / 0.769 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.1726, allocations: 0 / 0.769 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1726, allocations: 0 / 0.769 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1726, allocations: 7.938 kB / 0.769 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1727, allocations: 3.938 kB / 0.769 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1727, allocations: 3.984 kB / 0.769 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.1727, allocations: 57.14 kB / 0.7691 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1728, allocations: 77.11 kB / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1728, allocations: 7.938 kB / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-06/0.1728, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-06/0.1728, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1728, allocations: 3.984 kB / 0.7692 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.1729, allocations: 75.28 kB / 0.7692 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1729, allocations: 0 / 0.7692 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002648/0.1732, allocations: 19.97 kB / 0.7693 GB, free: 5.102 MB / 0.5606 GB 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 (1): * Single equations (assignments): 1 * 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.0005159/0.1737, allocations: 0.6201 MB / 0.7699 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.017e-05/0.1737, allocations: 4 kB / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.1738, allocations: 0 / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.1738, allocations: 7.938 kB / 0.7699 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.1739, allocations: 2.188 kB / 0.7699 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1743, allocations: 117.5 kB / 0.77 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1746, allocations: 0.6767 MB / 0.7706 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.168e-06/0.1746, allocations: 0 / 0.7706 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.1746, allocations: 7.562 kB / 0.7707 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1746, allocations: 4 kB / 0.7707 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/0.5829, allocations: 1.158 MB / 0.7718 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.392, allocations: 11.94 kB / 0.7718 GB, free: 2.504 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)