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.001191/0.001191, allocations: 93.34 kB / 16.02 MB, free: 84 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.001426/0.001426, allocations: 177.8 kB / 16.92 MB, free: 6.684 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6771/0.6771, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 12 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001494/0.1579, allocations: 1.147 MB / 0.5612 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.1584, allocations: 260.1 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.1585, allocations: 0 / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.1585, allocations: 4 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.1585, allocations: 3.938 kB / 0.5614 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1588, allocations: 47.88 kB / 0.5615 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.1589, allocations: 19.94 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/0.159, allocations: 4 kB / 0.5615 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.159, allocations: 11.92 kB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.656e-05/0.1591, allocations: 11.98 kB / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.1591, allocations: 0 / 0.5615 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1592, allocations: 67.88 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1593, allocations: 11.98 kB / 0.5616 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.1593, allocations: 29.64 kB / 0.5616 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1594, allocations: 55.84 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1594, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1595, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1595, allocations: 0 / 0.5617 GB, free: 7.266 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.0004304/0.1599, allocations: 347.7 kB / 0.562 GB, free: 6.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1599, allocations: 16.03 kB / 0.562 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.16, allocations: 30.75 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.16, allocations: 0.9375 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1601, allocations: 168.3 kB / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1601, allocations: 384 / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.1602, allocations: 384 / 0.5622 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1603, allocations: 54.23 kB / 0.5623 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1603, allocations: 11.92 kB / 0.5623 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1604, allocations: 0 / 0.5623 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.1604, allocations: 4 kB / 0.5623 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1606, allocations: 43.95 kB / 0.5623 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.1608, allocations: 249 kB / 0.5625 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.161, allocations: 50.42 kB / 0.5626 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.1611, allocations: 24.91 kB / 0.5626 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.1617, allocations: 461.5 kB / 0.5631 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1618, allocations: 34.56 kB / 0.5631 GB, free: 5.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1618, allocations: 7.875 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003649/0.1621, allocations: 101.5 kB / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1622, allocations: 55.34 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.1623, allocations: 93.86 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1623, allocations: 33.83 kB / 0.5634 GB, free: 5.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.1623, allocations: 88.12 kB / 0.5635 GB, free: 5.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1623, allocations: 3.906 kB / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1624, allocations: 9.719 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.1625, allocations: 314.8 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.1626, allocations: 19.98 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1627, allocations: 31.97 kB / 0.5638 GB, free: 4.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1628, allocations: 44.83 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1628, allocations: 8 kB / 0.5639 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.1631, allocations: 77.59 kB / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1631, allocations: 6.188 kB / 0.564 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1631, allocations: 0 / 0.564 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1631, allocations: 0 / 0.564 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.1632, allocations: 12.03 kB / 0.564 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1632, allocations: 7.984 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.1633, allocations: 8 kB / 0.564 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1633, allocations: 0 / 0.564 GB, free: 4.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.1633, allocations: 113.8 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1634, allocations: 4 kB / 0.5641 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1636, allocations: 84.77 kB / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1636, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1636, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1636, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1638, allocations: 165.5 kB / 0.5643 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1638, allocations: 0 / 0.5643 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.1639, allocations: 20.02 kB / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1639, allocations: 0 / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1639, allocations: 0 / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1639, allocations: 0 / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1639, allocations: 0 / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1641, allocations: 179.4 kB / 0.5645 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1642, allocations: 81.11 kB / 0.5646 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1642, allocations: 3.938 kB / 0.5646 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.1643, allocations: 7.984 kB / 0.5646 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1643, allocations: 4 kB / 0.5646 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1643, allocations: 0 / 0.5646 GB, free: 3.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.447e-05/0.1644, allocations: 91.3 kB / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1644, allocations: 0 / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1646, allocations: 19.94 kB / 0.5647 GB, free: 3.715 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 (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.0005665/0.1652, allocations: 0.7244 MB / 0.5654 GB, free: 2.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1654, allocations: 48 kB / 0.5655 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1654, allocations: 0 / 0.5655 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.1655, allocations: 27.92 kB / 0.5655 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1657, allocations: 7.984 kB / 0.5655 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.1661, allocations: 146.5 kB / 0.5656 GB, free: 2.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1663, allocations: 0.6731 MB / 0.5663 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.82e-05/0.1663, allocations: 0 / 0.5663 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1663, allocations: 15.42 kB / 0.5663 GB, free: 1.984 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1663, allocations: 0 / 0.5663 GB, free: 1.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.2839, allocations: 1.256 MB / 0.5675 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.2841, allocations: 182.4 kB / 0.5677 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.073, allocations: 0 / 0.5677 GB, free: 0.5859 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/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)