Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001337/0.001337, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001674/0.001674, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.805 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.002467/0.002467, allocations: 285.2 kB / 312.7 MB, free: 2.711 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.198/1.198, allocations: 180.7 MB / 0.5369 GB, free: 14.46 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.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.002876/0.002876, allocations: 105.1 kB / 0.7395 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1678, allocations: 95.38 MB / 0.8326 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003099/0.1709, allocations: 1.708 MB / 0.8343 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.1717, allocations: 462.2 kB / 0.8347 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.1717, allocations: 0 / 0.8347 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.1722, allocations: 131.7 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.1722, allocations: 55.75 kB / 0.8349 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1725, allocations: 71.7 kB / 0.835 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1727, allocations: 99.5 kB / 0.8351 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1727, allocations: 11.94 kB / 0.8351 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1728, allocations: 39.84 kB / 0.8351 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.1729, allocations: 47.77 kB / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1729, allocations: 4 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.173, allocations: 75.84 kB / 0.8352 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1731, allocations: 55.8 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.1732, allocations: 55.61 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1734, allocations: 191.2 kB / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1734, allocations: 0 / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1734, allocations: 3.938 kB / 0.8355 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1734, allocations: 0 / 0.8355 GB, free: 5.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005761/0.174, allocations: 413 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1741, allocations: 9.344 kB / 0.8359 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1741, allocations: 38.75 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1741, allocations: 20.8 kB / 0.836 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1743, allocations: 157.7 kB / 0.8361 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1743, allocations: 4.312 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.1743, allocations: 384 / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1745, allocations: 61.98 kB / 0.8362 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1745, allocations: 7.984 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1745, allocations: 11.98 kB / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1745, allocations: 0 / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1747, allocations: 55.89 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1751, allocations: 299.9 kB / 0.8366 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1753, allocations: 58.55 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1754, allocations: 36.89 kB / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.1755, allocations: 12 kB / 0.8367 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1755, allocations: 30.56 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1755, allocations: 0 / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004457/0.1759, allocations: 145.4 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.176, allocations: 55.39 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1763, allocations: 253.9 kB / 0.8371 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1763, allocations: 25.7 kB / 0.8372 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1764, allocations: 140.2 kB / 0.8373 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1765, allocations: 7.891 kB / 0.8373 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1765, allocations: 17.72 kB / 0.8373 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1767, allocations: 330.8 kB / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.1768, allocations: 27.98 kB / 0.8377 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.1768, allocations: 27.97 kB / 0.8377 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.177, allocations: 72.69 kB / 0.8378 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.177, allocations: 4.062 kB / 0.8378 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002359/0.1772, allocations: 109.5 kB / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1773, allocations: 4 kB / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1773, allocations: 0 / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1773, allocations: 0 / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.1774, allocations: 12 kB / 0.8379 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1774, allocations: 0 / 0.8379 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.1774, allocations: 8.016 kB / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1775, allocations: 4 kB / 0.8379 GB, free: 2.664 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 (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 0.0001338/0.1776, allocations: 142.4 kB / 0.838 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1776, allocations: 15.91 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.1779, allocations: 114.5 kB / 0.8382 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1779, allocations: 0 / 0.8382 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1779, allocations: 4 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1779, allocations: 0 / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1782, allocations: 184.7 kB / 0.8383 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1782, allocations: 4.031 kB / 0.8383 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.1782, allocations: 7.984 kB / 0.8383 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1782, allocations: 7.938 kB / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1782, allocations: 0 / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1782, allocations: 0 / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1782, allocations: 0 / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1785, allocations: 211.2 kB / 0.8386 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1786, allocations: 19.86 kB / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1786, allocations: 4.031 kB / 0.8386 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.1787, allocations: 11.92 kB / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1787, allocations: 0 / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1787, allocations: 0 / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001781/0.1789, allocations: 193.2 kB / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1789, allocations: 0 / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002626/0.1792, allocations: 35.94 kB / 0.8388 GB, free: 1.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 (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.0006884/0.1798, allocations: 0.7669 MB / 0.8396 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1801, allocations: 67.88 kB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1801, allocations: 0 / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.1802, allocations: 27.98 kB / 0.8396 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.1806, allocations: 55.36 kB / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.1814, allocations: 404 kB / 0.8401 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.1815, allocations: 122.8 kB / 0.8402 GB, free: 144 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.1815, allocations: 11.98 kB / 0.8402 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1816, allocations: 47.42 kB / 0.8403 GB, free: 84 kB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1816, allocations: 0 / 0.8403 GB, free: 84 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.2145, allocations: 4.661 MB / 0.8448 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.05, allocations: 0 / 0.8448 GB, free: 11.62 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.162008572369814] Failed to read output from testmodel.py, exit status != 0: 11.180393554270267 11.19762282 11.021069792 Calling exit ...