Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 110.7 kB / 16.46 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 216 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.012 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.002449/0.002449, allocations: 288.6 kB / 309.1 MB, free: 4.012 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.195/1.195, allocations: 180.9 MB / 0.5333 GB, free: 13.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 96.06 kB / 0.7342 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1618, allocations: 95.35 MB / 0.8273 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002273/0.1641, allocations: 1.278 MB / 0.8286 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1654, allocations: 0.7654 MB / 0.8293 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.1655, allocations: 0 / 0.8293 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.1655, allocations: 7.984 kB / 0.8293 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.1655, allocations: 7.938 kB / 0.8293 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1659, allocations: 131.6 kB / 0.8295 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.166, allocations: 19.92 kB / 0.8295 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.166, allocations: 11.94 kB / 0.8295 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1661, allocations: 11.94 kB / 0.8295 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.1662, allocations: 19.91 kB / 0.8295 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1662, allocations: 4 kB / 0.8295 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1665, allocations: 171.8 kB / 0.8297 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.1665, allocations: 3.984 kB / 0.8297 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1665, allocations: 11.94 kB / 0.8297 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1667, allocations: 108 kB / 0.8298 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1667, allocations: 0 / 0.8298 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1667, allocations: 0 / 0.8298 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1667, allocations: 3.938 kB / 0.8298 GB, free: 7.496 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004229/0.1672, allocations: 352.3 kB / 0.8301 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1672, allocations: 8.031 kB / 0.8301 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1672, allocations: 34.75 kB / 0.8302 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1673, allocations: 8.875 kB / 0.8302 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1674, allocations: 168.3 kB / 0.8304 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1674, allocations: 4.375 kB / 0.8304 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1675, allocations: 384 / 0.8304 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.1676, allocations: 45.81 kB / 0.8304 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1676, allocations: 3.938 kB / 0.8304 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1676, allocations: 4 kB / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1676, allocations: 0 / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.1676, allocations: 27.97 kB / 0.8304 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1678, allocations: 161.7 kB / 0.8306 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.1679, allocations: 38.52 kB / 0.8306 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.1679, allocations: 12.84 kB / 0.8306 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.1683, allocations: 186.3 kB / 0.8308 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1683, allocations: 34.5 kB / 0.8308 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1683, allocations: 4 kB / 0.8309 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001816/0.1685, allocations: 65.62 kB / 0.8309 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1685, allocations: 51.41 kB / 0.831 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.1686, allocations: 97.86 kB / 0.8311 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1686, allocations: 25.7 kB / 0.8311 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.1686, allocations: 84.12 kB / 0.8312 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1687, allocations: 23.8 kB / 0.8312 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1687, allocations: 13.84 kB / 0.8312 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1688, allocations: 322.8 kB / 0.8315 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.1689, allocations: 4 kB / 0.8315 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.1689, allocations: 12 kB / 0.8315 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.1689, allocations: 29.16 kB / 0.8315 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1689, allocations: 0 / 0.8315 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.763e-05/0.169, allocations: 69.56 kB / 0.8316 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.169, allocations: 4 kB / 0.8316 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.169, allocations: 3.984 kB / 0.8316 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1691, allocations: 0 / 0.8316 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1691, allocations: 12 kB / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1691, allocations: 0 / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1691, allocations: 0 / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1692, allocations: 4 kB / 0.8316 GB, free: 5.352 MB / 0.5762 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 (5): * Single equations (assignments): 5 * 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.591e-05/0.1692, allocations: 109.8 kB / 0.8317 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1692, allocations: 7.938 kB / 0.8317 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.1694, allocations: 85.06 kB / 0.8318 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1694, allocations: 4 kB / 0.8318 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1694, allocations: 0 / 0.8318 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1694, allocations: 3.984 kB / 0.8318 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.1695, allocations: 157.7 kB / 0.832 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1695, allocations: 0 / 0.832 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.1696, allocations: 11.94 kB / 0.832 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1696, allocations: 4 kB / 0.832 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1696, allocations: 0 / 0.832 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1696, allocations: 0 / 0.832 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1696, allocations: 0 / 0.832 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1697, allocations: 97.05 kB / 0.8321 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1698, allocations: 88.94 kB / 0.8322 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1698, allocations: 0 / 0.8322 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.1698, allocations: 192 / 0.8322 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.1698, allocations: 4 kB / 0.8322 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1698, allocations: 8 kB / 0.8322 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.1699, allocations: 83.27 kB / 0.8323 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 4.094 kB / 0.8323 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002304/0.1701, allocations: 27.94 kB / 0.8323 GB, free: 4.57 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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.0005638/0.1707, allocations: 0.6645 MB / 0.833 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1708, allocations: 31.92 kB / 0.833 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1708, allocations: 0 / 0.833 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.1708, allocations: 19.98 kB / 0.833 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1709, allocations: 4 kB / 0.833 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.1713, allocations: 164.2 kB / 0.8332 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1717, allocations: 0.6729 MB / 0.8338 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.1717, allocations: 11.92 kB / 0.8338 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1717, allocations: 15.44 kB / 0.8338 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1717, allocations: 4 kB / 0.8338 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1966, allocations: 2.336 MB / 0.8361 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/7.902, allocations: 17.52 kB / 0.8361 GB, free: 0.6797 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.986102883704007] Failed to read output from testmodel.py, exit status != 0: 7.97072173608467 7.992932207 7.823424781 Calling exit ...