Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.001347/0.001347, allocations: 107.5 kB / 16.45 MB, free: 6.453 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.001423/0.001423, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.003257/0.003257, allocations: 294.7 kB / 309.1 MB, free: 3.977 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.197/1.197, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.00278/0.00278, allocations: 106 kB / 0.7342 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1689, allocations: 95.34 MB / 0.8273 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003734/0.1726, allocations: 1.742 MB / 0.829 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1745, allocations: 1.164 MB / 0.8302 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.1746, allocations: 4 kB / 0.8302 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.175, allocations: 135.8 kB / 0.8303 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.198e-05/0.1751, allocations: 55.67 kB / 0.8304 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.1755, allocations: 159.5 kB / 0.8305 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1757, allocations: 103.5 kB / 0.8306 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.1757, allocations: 7.938 kB / 0.8306 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.1758, allocations: 47.77 kB / 0.8307 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1759, allocations: 55.75 kB / 0.8307 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1759, allocations: 4 kB / 0.8307 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.1763, allocations: 243.5 kB / 0.831 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.1764, allocations: 55.8 kB / 0.831 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.1765, allocations: 67.55 kB / 0.8311 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.1769, allocations: 310.8 kB / 0.8314 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1769, allocations: 3.984 kB / 0.8314 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1769, allocations: 0 / 0.8314 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1769, allocations: 0 / 0.8314 GB, free: 5.723 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.000709/0.1776, allocations: 0.5018 MB / 0.8319 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1777, allocations: 8.031 kB / 0.8319 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1777, allocations: 34.75 kB / 0.8319 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1778, allocations: 20.8 kB / 0.8319 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.178, allocations: 211.9 kB / 0.8321 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.178, allocations: 8.375 kB / 0.8321 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.178, allocations: 384 / 0.8321 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1782, allocations: 89.58 kB / 0.8322 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1782, allocations: 0 / 0.8322 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1782, allocations: 0 / 0.8322 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1782, allocations: 0 / 0.8322 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.1785, allocations: 103.9 kB / 0.8323 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.1791, allocations: 380.8 kB / 0.8327 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1793, allocations: 98.59 kB / 0.8328 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1794, allocations: 52.83 kB / 0.8328 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.1795, allocations: 23.94 kB / 0.8328 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1795, allocations: 38.5 kB / 0.8329 GB, free: 4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1795, allocations: 0 / 0.8329 GB, free: 4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0005072/0.18, allocations: 193.4 kB / 0.8331 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1801, allocations: 55.41 kB / 0.8331 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1804, allocations: 254.7 kB / 0.8334 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1804, allocations: 25.7 kB / 0.8334 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1805, allocations: 144.2 kB / 0.8335 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1805, allocations: 7.891 kB / 0.8335 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1805, allocations: 17.72 kB / 0.8335 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1807, allocations: 330.8 kB / 0.8339 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1808, allocations: 47.95 kB / 0.8339 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1809, allocations: 55.97 kB / 0.834 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1812, allocations: 104.8 kB / 0.8341 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1812, allocations: 0 / 0.8341 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002802/0.1814, allocations: 149.5 kB / 0.8342 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1815, allocations: 4 kB / 0.8342 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1815, allocations: 0 / 0.8342 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1815, allocations: 0 / 0.8342 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1816, allocations: 16.02 kB / 0.8342 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1816, allocations: 0 / 0.8342 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.1817, allocations: 4 kB / 0.8342 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1817, allocations: 0 / 0.8342 GB, free: 2.559 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.0001191/0.1818, allocations: 141.8 kB / 0.8344 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1818, allocations: 19.86 kB / 0.8344 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.1822, allocations: 174.4 kB / 0.8345 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1822, allocations: 0 / 0.8345 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1822, allocations: 0 / 0.8345 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1822, allocations: 0 / 0.8345 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.1825, allocations: 241.5 kB / 0.8348 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1825, allocations: 0 / 0.8348 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.1825, allocations: 11.98 kB / 0.8348 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1825, allocations: 4 kB / 0.8348 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1826, allocations: 0 / 0.8348 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1826, allocations: 0 / 0.8348 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1826, allocations: 0 / 0.8348 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1829, allocations: 259.2 kB / 0.835 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.183, allocations: 96.91 kB / 0.8351 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.183, allocations: 0 / 0.8351 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1831, allocations: 11.94 kB / 0.8351 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1831, allocations: 12.06 kB / 0.8352 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1831, allocations: 4 kB / 0.8352 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001871/0.1833, allocations: 193.9 kB / 0.8353 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1833, allocations: 0 / 0.8353 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003418/0.1837, allocations: 67.75 kB / 0.8354 GB, free: 1.25 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 (3): * Single equations (assignments): 3 * 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.0009361/0.1846, allocations: 0.8488 MB / 0.8362 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1849, allocations: 99.88 kB / 0.8363 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1849, allocations: 0 / 0.8363 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.185, allocations: 55.95 kB / 0.8364 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.1855, allocations: 54.91 kB / 0.8364 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.1864, allocations: 457.3 kB / 0.8369 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1868, allocations: 0.7314 MB / 0.8376 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1868, allocations: 8 kB / 0.8376 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.1869, allocations: 51.41 kB / 0.8376 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1869, allocations: 0 / 0.8376 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.2164, allocations: 4.621 MB / 0.8422 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.171, allocations: 5.312 kB / 0.8422 GB, free: 10.43 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23304552026093] Failed to read output from testmodel.py, exit status != 0: 8.238735642749816 8.25294125 8.073224306 Calling exit ...