Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001258/0.001258, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.00136/0.00136, allocations: 212 kB / 19.43 MB, free: 3.637 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.002412/0.002412, allocations: 280.1 kB / 309.1 MB, free: 4 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.176/1.176, allocations: 180.9 MB / 0.5333 GB, free: 13.72 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.002798/0.002798, allocations: 101.5 kB / 0.7342 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 95.34 MB / 0.8273 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002936/0.1749, allocations: 1.737 MB / 0.829 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007061/0.1756, allocations: 482 kB / 0.8295 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.1757, allocations: 0 / 0.8295 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.176, allocations: 139.8 kB / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.1761, allocations: 59.67 kB / 0.8297 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1763, allocations: 55.86 kB / 0.8297 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1765, allocations: 99.5 kB / 0.8298 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.1765, allocations: 7.938 kB / 0.8298 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.1766, allocations: 43.78 kB / 0.8299 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.1767, allocations: 55.75 kB / 0.8299 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1767, allocations: 0 / 0.8299 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1769, allocations: 91.83 kB / 0.83 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1769, allocations: 55.8 kB / 0.8301 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.177, allocations: 59.56 kB / 0.8301 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1773, allocations: 187.2 kB / 0.8303 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1773, allocations: 0 / 0.8303 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1773, allocations: 0 / 0.8303 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1773, allocations: 4 kB / 0.8303 GB, free: 6.836 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.000622/0.1779, allocations: 490.1 kB / 0.8308 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.178, allocations: 16.02 kB / 0.8308 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.178, allocations: 30.75 kB / 0.8308 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.178, allocations: 20.8 kB / 0.8308 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1782, allocations: 223.9 kB / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1782, allocations: 384 / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1782, allocations: 384 / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1784, allocations: 57.98 kB / 0.8311 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1784, allocations: 4 kB / 0.8311 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1784, allocations: 3.984 kB / 0.8311 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1784, allocations: 0 / 0.8311 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1786, allocations: 39.95 kB / 0.8312 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1791, allocations: 312.8 kB / 0.8315 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1792, allocations: 50.48 kB / 0.8315 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.1793, allocations: 24.91 kB / 0.8315 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1793, allocations: 11.92 kB / 0.8315 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1794, allocations: 34.56 kB / 0.8316 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1794, allocations: 0 / 0.8316 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003787/0.1797, allocations: 113.4 kB / 0.8317 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1798, allocations: 51.41 kB / 0.8317 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.18, allocations: 258.7 kB / 0.832 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1801, allocations: 25.7 kB / 0.832 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.1801, allocations: 132.1 kB / 0.8321 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.1802, allocations: 7.938 kB / 0.8321 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1802, allocations: 17.72 kB / 0.8321 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1804, allocations: 331 kB / 0.8325 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.1805, allocations: 19.97 kB / 0.8325 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.1805, allocations: 19.98 kB / 0.8325 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1807, allocations: 52.69 kB / 0.8326 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1807, allocations: 4 kB / 0.8326 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002249/0.1809, allocations: 97.52 kB / 0.8326 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1809, allocations: 8 kB / 0.8327 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1809, allocations: 0 / 0.8327 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.181, allocations: 0 / 0.8327 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.181, allocations: 11.98 kB / 0.8327 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.181, allocations: 4 kB / 0.8327 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.1811, allocations: 4 kB / 0.8327 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1811, allocations: 4.031 kB / 0.8327 GB, free: 4.172 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.000108/0.1812, allocations: 140.6 kB / 0.8328 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1812, allocations: 15.91 kB / 0.8328 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1815, allocations: 90.52 kB / 0.8329 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1815, allocations: 4 kB / 0.8329 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1815, allocations: 0 / 0.8329 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1815, allocations: 0 / 0.8329 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1817, allocations: 221.5 kB / 0.8331 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1817, allocations: 0 / 0.8331 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.1818, allocations: 8 kB / 0.8331 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1818, allocations: 0 / 0.8331 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1818, allocations: 0 / 0.8331 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1818, allocations: 0 / 0.8331 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1818, allocations: 0 / 0.8331 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1821, allocations: 195.3 kB / 0.8333 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1821, allocations: 96.91 kB / 0.8334 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1822, allocations: 0 / 0.8334 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.1823, allocations: 7.984 kB / 0.8334 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1823, allocations: 4 kB / 0.8334 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1823, allocations: 0 / 0.8334 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001689/0.1825, allocations: 189.9 kB / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1825, allocations: 0 / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000284/0.1827, allocations: 43.97 kB / 0.8337 GB, free: 3.082 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.0006561/0.1834, allocations: 0.7395 MB / 0.8344 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1836, allocations: 47.98 kB / 0.8344 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1836, allocations: 3.938 kB / 0.8344 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.1837, allocations: 23.92 kB / 0.8344 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1842, allocations: 50.83 kB / 0.8345 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.1849, allocations: 391.6 kB / 0.8349 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1853, allocations: 0.7353 MB / 0.8356 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1853, allocations: 11.98 kB / 0.8356 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.1854, allocations: 47.42 kB / 0.8356 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1854, allocations: 4 kB / 0.8356 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2137, allocations: 3.965 MB / 0.8395 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.08, allocations: 1.875 kB / 0.8395 GB, free: 13.18 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_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_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.155235779006034] Failed to read output from testmodel.py, exit status != 0: 8.153855303768069 8.17680154 7.995365891 Calling exit ...