Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 109.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 281.6 kB / 303 MB, free: 9.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.247/1.247, allocations: 180.9 MB / 0.5261 GB, free: 14.77 MB / 382.1 MB " [Timeout remaining time 179] 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 107.4 kB / 0.7248 GB, free: 40.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1632, allocations: 94.15 MB / 0.8168 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001675/0.1649, allocations: 0.5773 MB / 0.8173 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.1653, allocations: 207.5 kB / 0.8175 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.1654, allocations: 0 / 0.8175 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1654, allocations: 0 / 0.8175 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1654, allocations: 0 / 0.8175 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1657, allocations: 47.84 kB / 0.8176 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.1658, allocations: 11.98 kB / 0.8176 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.1658, allocations: 4 kB / 0.8176 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.1658, allocations: 3.984 kB / 0.8176 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.715e-05/0.1658, allocations: 0 / 0.8176 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.1658, allocations: 0 / 0.8176 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.166, allocations: 59.89 kB / 0.8177 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-06/0.166, allocations: 0 / 0.8177 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.287e-05/0.166, allocations: 0 / 0.8177 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1661, allocations: 39.92 kB / 0.8177 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1662, allocations: 0 / 0.8177 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1662, allocations: 3.938 kB / 0.8177 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.1662, allocations: 0 / 0.8177 GB, free: 4.457 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.000357/0.1665, allocations: 331.7 kB / 0.818 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1666, allocations: 12.03 kB / 0.818 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.1666, allocations: 30.75 kB / 0.8181 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1666, allocations: 0.9375 kB / 0.8181 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1667, allocations: 164.4 kB / 0.8182 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1668, allocations: 384 / 0.8182 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1668, allocations: 384 / 0.8182 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1669, allocations: 34.27 kB / 0.8182 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1669, allocations: 3.938 kB / 0.8182 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1669, allocations: 4 kB / 0.8182 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1669, allocations: 0 / 0.8182 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.1669, allocations: 3.938 kB / 0.8183 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1671, allocations: 153.7 kB / 0.8184 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.1671, allocations: 18.56 kB / 0.8184 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1672, allocations: 4.859 kB / 0.8184 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008477/0.168, allocations: 469.5 kB / 0.8189 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.168, allocations: 30.56 kB / 0.8189 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.168, allocations: 0 / 0.8189 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.1682, allocations: 37.58 kB / 0.8189 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1682, allocations: 51.41 kB / 0.819 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.1683, allocations: 93.98 kB / 0.8191 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1683, allocations: 25.7 kB / 0.8191 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.1683, allocations: 84.08 kB / 0.8192 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1684, allocations: 7.953 kB / 0.8192 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1684, allocations: 13.72 kB / 0.8192 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1685, allocations: 314.8 kB / 0.8195 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.1685, allocations: 0 / 0.8195 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.1686, allocations: 4 kB / 0.8195 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.1686, allocations: 8.922 kB / 0.8195 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1686, allocations: 0 / 0.8195 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.267e-05/0.1686, allocations: 37.64 kB / 0.8195 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1687, allocations: 4 kB / 0.8196 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1687, allocations: 3.938 kB / 0.8196 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1687, allocations: 0 / 0.8196 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.1687, allocations: 4 kB / 0.8196 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1687, allocations: 3.984 kB / 0.8196 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.1687, allocations: 7.938 kB / 0.8196 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1687, allocations: 4.031 kB / 0.8196 GB, free: 2.203 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 7.946e-05/0.1688, allocations: 105.8 kB / 0.8197 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.1688, allocations: 4 kB / 0.8197 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.1689, allocations: 36.77 kB / 0.8197 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1689, allocations: 3.938 kB / 0.8197 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1689, allocations: 0 / 0.8197 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1689, allocations: 3.984 kB / 0.8197 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.169, allocations: 145.7 kB / 0.8199 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.169, allocations: 4.031 kB / 0.8199 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.169, allocations: 4 kB / 0.8199 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.169, allocations: 0 / 0.8199 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1691, allocations: 3.938 kB / 0.8199 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1691, allocations: 0 / 0.8199 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1691, allocations: 0 / 0.8199 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.1691, allocations: 57.12 kB / 0.8199 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1692, allocations: 77.11 kB / 0.82 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1692, allocations: 7.969 kB / 0.82 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.1692, allocations: 8 kB / 0.82 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.1692, allocations: 0 / 0.82 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1692, allocations: 0 / 0.82 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.1693, allocations: 75.28 kB / 0.8201 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1693, allocations: 4 kB / 0.8201 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001966/0.1695, allocations: 19.86 kB / 0.8201 GB, free: 1.555 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.0005111/0.17, allocations: 0.6163 MB / 0.8207 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.17, allocations: 0 / 0.8207 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.17, allocations: 3.938 kB / 0.8207 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.17, allocations: 12.03 kB / 0.8207 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1702, allocations: 0 / 0.8207 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.1705, allocations: 122.6 kB / 0.8208 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1708, allocations: 0.669 MB / 0.8215 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.064e-05/0.1708, allocations: 0 / 0.8215 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.1708, allocations: 7.438 kB / 0.8215 GB, free: 28 kB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1708, allocations: 0 / 0.8215 GB, free: 28 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.1934, allocations: 1.174 MB / 0.8227 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/7.956, allocations: 8.688 kB / 0.8227 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.21291382983327] Failed to read output from testmodel.py, exit status != 0: 8.023548423778266 8.046094076 7.875759883 Calling exit ...