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.001229/0.001229, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001374/0.001374, allocations: 218.5 kB / 22.25 MB, free: 5.125 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002423/0.002423, allocations: 287.4 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002743/0.002743, allocations: 110.3 kB / 0.7396 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1524, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002249/0.1546, allocations: 1.283 MB / 0.834 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1559, allocations: 0.7733 MB / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1559, allocations: 0 / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.1559, allocations: 0 / 0.8347 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.156, allocations: 3.938 kB / 0.8347 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1564, allocations: 131.7 kB / 0.8348 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.1564, allocations: 31.84 kB / 0.8349 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.1565, allocations: 0 / 0.8349 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1566, allocations: 23.92 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.1566, allocations: 8 kB / 0.8349 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1566, allocations: 3.984 kB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.157, allocations: 171.8 kB / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.157, allocations: 11.92 kB / 0.8351 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.157, allocations: 4 kB / 0.8351 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1572, allocations: 111.9 kB / 0.8352 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1572, allocations: 3.938 kB / 0.8352 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1572, allocations: 0 / 0.8352 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1572, allocations: 4 kB / 0.8352 GB, free: 6.078 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.0003753/0.1576, allocations: 278.1 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1576, allocations: 13.34 kB / 0.8355 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1576, allocations: 30.75 kB / 0.8355 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.1577, allocations: 8.938 kB / 0.8355 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1578, allocations: 110.5 kB / 0.8356 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1578, allocations: 384 / 0.8356 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1579, allocations: 8.375 kB / 0.8356 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.158, allocations: 49.81 kB / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.158, allocations: 0 / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.158, allocations: 0 / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.158, allocations: 0 / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.966e-05/0.158, allocations: 27.92 kB / 0.8357 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1582, allocations: 124.8 kB / 0.8358 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.1583, allocations: 42.56 kB / 0.8359 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.1583, allocations: 12.98 kB / 0.8359 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.1586, allocations: 39.94 kB / 0.8359 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1586, allocations: 34.5 kB / 0.8359 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1586, allocations: 4 kB / 0.8359 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.1588, allocations: 61.62 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1588, allocations: 55.41 kB / 0.8361 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.1589, allocations: 93.86 kB / 0.8361 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1589, allocations: 25.7 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.159, allocations: 84.27 kB / 0.8363 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.159, allocations: 23.83 kB / 0.8363 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.159, allocations: 21.66 kB / 0.8363 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1591, allocations: 310.8 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.1592, allocations: 11.98 kB / 0.8366 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.1592, allocations: 8 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.1592, allocations: 20.86 kB / 0.8366 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1592, allocations: 0 / 0.8366 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.733e-05/0.1593, allocations: 73.89 kB / 0.8367 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1594, allocations: 6.031 kB / 0.8367 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1594, allocations: 0 / 0.8367 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1594, allocations: 64 / 0.8367 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.1594, allocations: 19.92 kB / 0.8367 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1594, allocations: 0 / 0.8367 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.1595, allocations: 0 / 0.8367 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1595, allocations: 4 kB / 0.8367 GB, free: 4.316 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.67e-05/0.1595, allocations: 110.5 kB / 0.8368 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.1595, allocations: 11.94 kB / 0.8368 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.1597, allocations: 81.31 kB / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1597, allocations: 3.984 kB / 0.8369 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1597, allocations: 0 / 0.8369 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1597, allocations: 0 / 0.8369 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1598, allocations: 128.8 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1598, allocations: 0 / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.1599, allocations: 23.86 kB / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1599, allocations: 0 / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.1599, allocations: 4 kB / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1599, allocations: 0 / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1599, allocations: 0 / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.16, allocations: 89.06 kB / 0.8372 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.16, allocations: 7.875 kB / 0.8372 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.16, allocations: 7.984 kB / 0.8372 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.16, allocations: 4 kB / 0.8372 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1601, allocations: 0 / 0.8372 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.1601, allocations: 8 kB / 0.8372 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.1601, allocations: 75.28 kB / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1601, allocations: 0 / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000244/0.1604, allocations: 39.92 kB / 0.8373 GB, free: 3.652 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.0005936/0.161, allocations: 0.6632 MB / 0.8379 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1611, allocations: 31.98 kB / 0.838 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1611, allocations: 0 / 0.838 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.1611, allocations: 23.86 kB / 0.838 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1613, allocations: 7 kB / 0.838 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1617, allocations: 160.5 kB / 0.8382 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1621, allocations: 0.6768 MB / 0.8388 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.1621, allocations: 15.92 kB / 0.8388 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1621, allocations: 15.44 kB / 0.8388 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1621, allocations: 0 / 0.8388 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.19, allocations: 2.459 MB / 0.8413 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.906/10.1, allocations: 1.25 kB / 0.8413 GB, free: 15.64 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.136655680998956] Failed to read output from testmodel.py, exit status != 0: 10.201741409000533 10.223424756 10.062110213 Calling exit ...