Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_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.004889/0.004889, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001164/0.001165, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 287 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 91.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1555, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002405/0.1579, allocations: 1.425 MB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.1585, allocations: 256 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.1585, allocations: 0 / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.1585, allocations: 0 / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.1586, allocations: 7.922 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.159, allocations: 59.81 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.1591, allocations: 19.94 kB / 0.7676 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.1592, allocations: 19.86 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.1592, allocations: 4 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1593, allocations: 11.92 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1593, allocations: 8 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1594, allocations: 71.86 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1595, allocations: 4 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1595, allocations: 7.938 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1596, allocations: 52.19 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1596, allocations: 0 / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1596, allocations: 0 / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1597, allocations: 0 / 0.7678 GB, free: 6.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004561/0.1601, allocations: 347.4 kB / 0.7681 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1602, allocations: 15.97 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1602, allocations: 30.75 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1602, allocations: 4.938 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1604, allocations: 164.3 kB / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1604, allocations: 384 / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1604, allocations: 4.375 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1606, allocations: 50.17 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1606, allocations: 7.938 kB / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1606, allocations: 0 / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1606, allocations: 0 / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1608, allocations: 35.95 kB / 0.7684 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1611, allocations: 244.9 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1612, allocations: 50.47 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.1613, allocations: 20.91 kB / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006732/0.162, allocations: 457.5 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.162, allocations: 38.56 kB / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.162, allocations: 0 / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003203/0.1624, allocations: 81.64 kB / 0.7693 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1624, allocations: 55.41 kB / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.1625, allocations: 93.86 kB / 0.7694 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1625, allocations: 25.7 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.1625, allocations: 88.12 kB / 0.7695 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1625, allocations: 11.78 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1626, allocations: 17.84 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.1627, allocations: 314.8 kB / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.1628, allocations: 11.98 kB / 0.7699 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.1628, allocations: 23.97 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.163, allocations: 36.89 kB / 0.7699 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.163, allocations: 7.938 kB / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.1632, allocations: 61.66 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1632, allocations: 11.94 kB / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1632, allocations: 0 / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1632, allocations: 0 / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.1633, allocations: 11.92 kB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1633, allocations: 0 / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1634, allocations: 8.031 kB / 0.77 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1634, allocations: 8.125 kB / 0.77 GB, free: 4.316 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 (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 6e-05/0.1634, allocations: 118.4 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1635, allocations: 3.906 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.1637, allocations: 72.77 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1637, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1637, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1637, allocations: 4.031 kB / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1638, allocations: 157.6 kB / 0.7704 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1639, allocations: 0 / 0.7704 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.1639, allocations: 11.98 kB / 0.7704 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1639, allocations: 0 / 0.7704 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1639, allocations: 0 / 0.7704 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1639, allocations: 3.938 kB / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1639, allocations: 0 / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1641, allocations: 167.5 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.1642, allocations: 77.11 kB / 0.7706 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1642, allocations: 7.984 kB / 0.7706 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1643, allocations: 0 / 0.7706 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1643, allocations: 8 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1643, allocations: 3.984 kB / 0.7707 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.1644, allocations: 79.28 kB / 0.7707 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1644, allocations: 4.031 kB / 0.7707 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002274/0.1646, allocations: 16 kB / 0.7707 GB, free: 3.5 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 (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.0005614/0.1652, allocations: 0.724 MB / 0.7715 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1654, allocations: 31.97 kB / 0.7715 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1654, allocations: 0 / 0.7715 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.1655, allocations: 23.97 kB / 0.7715 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1657, allocations: 4.125 kB / 0.7715 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1661, allocations: 139.2 kB / 0.7716 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1663, allocations: 0.6768 MB / 0.7723 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1663, allocations: 0 / 0.7723 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.1664, allocations: 15.44 kB / 0.7723 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1664, allocations: 3.938 kB / 0.7723 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.182, allocations: 1.536 MB / 0.7738 GB, free: 348 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.205, allocations: 19.09 kB / 0.7738 GB, free: 336 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)