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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 107.7 kB / 16.45 MB, free: 6.035 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.001363/0.001363, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.002443/0.002443, allocations: 286.8 kB / 303 MB, free: 9.508 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.234/1.234, allocations: 180.9 MB / 0.5261 GB, free: 14.61 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 100.3 kB / 0.7248 GB, free: 40.42 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1629, allocations: 94.15 MB / 0.8168 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001864/0.1648, allocations: 0.5899 MB / 0.8173 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000497/0.1653, allocations: 191.5 kB / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.1653, allocations: 0 / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.1653, allocations: 0 / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1653, allocations: 0 / 0.8175 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.1656, allocations: 51.84 kB / 0.8176 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.873e-05/0.1657, allocations: 3.984 kB / 0.8176 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1657, allocations: 0 / 0.8176 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.147e-05/0.1657, allocations: 0 / 0.8176 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.758e-05/0.1657, allocations: 4 kB / 0.8176 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-06/0.1658, allocations: 4 kB / 0.8176 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1659, allocations: 59.88 kB / 0.8176 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.1659, allocations: 0 / 0.8176 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.1659, allocations: 0 / 0.8176 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.166, allocations: 31.94 kB / 0.8177 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.166, allocations: 4 kB / 0.8177 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.166, allocations: 0 / 0.8177 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1661, allocations: 7.875 kB / 0.8177 GB, free: 4.57 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.0003464/0.1664, allocations: 327.7 kB / 0.818 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1664, allocations: 12.03 kB / 0.818 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.1665, allocations: 38.69 kB / 0.818 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.878e-05/0.1665, allocations: 0.9375 kB / 0.818 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1666, allocations: 160.4 kB / 0.8182 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1666, allocations: 384 / 0.8182 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1666, allocations: 384 / 0.8182 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.1667, allocations: 30.27 kB / 0.8182 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1667, allocations: 3.938 kB / 0.8182 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.1667, allocations: 0 / 0.8182 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1667, allocations: 3.984 kB / 0.8182 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.1667, allocations: 3.984 kB / 0.8182 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.1669, allocations: 153.7 kB / 0.8184 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.753e-05/0.1669, allocations: 18.58 kB / 0.8184 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.1669, allocations: 4.859 kB / 0.8184 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.1677, allocations: 461.4 kB / 0.8188 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.1677, allocations: 34.56 kB / 0.8189 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1677, allocations: 0 / 0.8189 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.1679, allocations: 37.58 kB / 0.8189 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1679, allocations: 51.41 kB / 0.819 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.1679, allocations: 89.86 kB / 0.819 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.168, allocations: 29.7 kB / 0.8191 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.168, allocations: 84.27 kB / 0.8192 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.168, allocations: 3.953 kB / 0.8192 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1681, allocations: 17.7 kB / 0.8192 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1682, allocations: 310.8 kB / 0.8195 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1682, allocations: 4 kB / 0.8195 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.1682, allocations: 0 / 0.8195 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.1683, allocations: 8.859 kB / 0.8195 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1683, allocations: 4 kB / 0.8195 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.956e-05/0.1683, allocations: 37.7 kB / 0.8195 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1683, allocations: 4 kB / 0.8195 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1683, allocations: 3.938 kB / 0.8195 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1684, allocations: 3.984 kB / 0.8195 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.1684, allocations: 7.938 kB / 0.8195 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1684, allocations: 0 / 0.8195 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-06/0.1684, allocations: 0 / 0.8195 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1684, allocations: 0 / 0.8195 GB, free: 2.332 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.114e-05/0.1685, allocations: 113.8 kB / 0.8196 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-06/0.1685, allocations: 4.031 kB / 0.8197 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.1686, allocations: 40.75 kB / 0.8197 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1686, allocations: 0 / 0.8197 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1686, allocations: 3.938 kB / 0.8197 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1686, allocations: 0 / 0.8197 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1687, allocations: 149.6 kB / 0.8198 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1687, allocations: 4 kB / 0.8198 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.1687, allocations: 0 / 0.8198 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1687, allocations: 0 / 0.8198 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1688, allocations: 3.938 kB / 0.8198 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1688, allocations: 4.031 kB / 0.8199 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1688, allocations: 3.984 kB / 0.8199 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.868e-05/0.1688, allocations: 53.14 kB / 0.8199 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1689, allocations: 77.11 kB / 0.82 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1689, allocations: 3.938 kB / 0.82 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-06/0.1689, allocations: 0 / 0.82 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1689, allocations: 7.984 kB / 0.82 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1689, allocations: 8.031 kB / 0.82 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.169, allocations: 75.28 kB / 0.8201 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 0 / 0.8201 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002078/0.1692, allocations: 11.94 kB / 0.8201 GB, free: 1.68 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.0005112/0.1697, allocations: 0.6202 MB / 0.8207 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.1698, allocations: 4 kB / 0.8207 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1698, allocations: 0 / 0.8207 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-06/0.1698, allocations: 3.938 kB / 0.8207 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1699, allocations: 0 / 0.8207 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.1702, allocations: 126.8 kB / 0.8208 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1705, allocations: 0.669 MB / 0.8215 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.679e-06/0.1705, allocations: 0 / 0.8215 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.1705, allocations: 11.38 kB / 0.8215 GB, free: 152 kB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1705, allocations: 0 / 0.8215 GB, free: 152 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1935, allocations: 1.174 MB / 0.8226 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.064, allocations: 8.625 kB / 0.8226 GB, free: 15.08 MB / 0.5762 GB " [Timeout remaining time 652] (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 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.178487962577492] Failed to read output from testmodel.py, exit status != 0: 8.134693193715066 8.160379105 7.990527216 Calling exit ...