Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001806/0.001806, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002564/0.002564, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.797 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.00281/0.00281, allocations: 293.7 kB / 312.7 MB, free: 2.578 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.244/1.244, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") [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.003031/0.003031, allocations: 103.1 kB / 0.74 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1923, allocations: 95.38 MB / 0.8331 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003008/0.1954, allocations: 1.71 MB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1968, allocations: 0.9266 MB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.1968, allocations: 4 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1972, allocations: 127.5 kB / 0.8358 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.1973, allocations: 59.67 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1976, allocations: 107.6 kB / 0.836 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1977, allocations: 111.4 kB / 0.8361 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1978, allocations: 3.938 kB / 0.8361 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1978, allocations: 39.84 kB / 0.8361 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.1979, allocations: 51.75 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1979, allocations: 0 / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1982, allocations: 123.8 kB / 0.8363 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.1983, allocations: 55.8 kB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.1983, allocations: 51.62 kB / 0.8364 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1987, allocations: 239.1 kB / 0.8366 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1987, allocations: 0 / 0.8366 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1987, allocations: 0 / 0.8366 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1987, allocations: 0 / 0.8366 GB, free: 4.188 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.0006175/0.1993, allocations: 428.8 kB / 0.837 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1993, allocations: 13.34 kB / 0.837 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1994, allocations: 20.8 kB / 0.8371 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1995, allocations: 161.6 kB / 0.8372 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.1995, allocations: 384 / 0.8372 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1996, allocations: 384 / 0.8372 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1997, allocations: 73.78 kB / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1997, allocations: 0 / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1998, allocations: 0 / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1998, allocations: 0 / 0.8373 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1999, allocations: 59.94 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.2004, allocations: 284.4 kB / 0.8376 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2005, allocations: 74.42 kB / 0.8377 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.2006, allocations: 32.89 kB / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.2007, allocations: 8 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2007, allocations: 34.56 kB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2007, allocations: 0 / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.2011, allocations: 137.4 kB / 0.8379 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2011, allocations: 55.53 kB / 0.8379 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.2014, allocations: 261.9 kB / 0.8382 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2014, allocations: 25.7 kB / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2015, allocations: 140.1 kB / 0.8383 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.2015, allocations: 3.953 kB / 0.8384 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.2016, allocations: 9.719 kB / 0.8384 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2017, allocations: 334.8 kB / 0.8387 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.2018, allocations: 27.98 kB / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.2019, allocations: 27.97 kB / 0.8387 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.2021, allocations: 68.88 kB / 0.8388 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2021, allocations: 3.938 kB / 0.8388 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002324/0.2023, allocations: 113.4 kB / 0.8389 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2023, allocations: 5.719 kB / 0.8389 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2023, allocations: 0 / 0.8389 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2023, allocations: 4 kB / 0.8389 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.2024, allocations: 12.03 kB / 0.8389 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2024, allocations: 0 / 0.8389 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.2025, allocations: 11.92 kB / 0.8389 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.2025, allocations: 0 / 0.8389 GB, free: 1.633 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.0001104/0.2026, allocations: 142.4 kB / 0.8391 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.2026, allocations: 19.86 kB / 0.8391 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.2029, allocations: 122.5 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2029, allocations: 0 / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2029, allocations: 4.031 kB / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2029, allocations: 0 / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2031, allocations: 165.2 kB / 0.8394 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2031, allocations: 0 / 0.8394 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.2032, allocations: 11.98 kB / 0.8394 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2032, allocations: 0 / 0.8394 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2032, allocations: 3.938 kB / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2032, allocations: 0 / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2032, allocations: 0 / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.2035, allocations: 211.3 kB / 0.8396 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.2035, allocations: 11.91 kB / 0.8396 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2035, allocations: 0 / 0.8396 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.2036, allocations: 11.98 kB / 0.8396 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2037, allocations: 11.88 kB / 0.8396 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2037, allocations: 0 / 0.8396 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001802/0.2038, allocations: 193.2 kB / 0.8398 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2038, allocations: 0 / 0.8398 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002774/0.2041, allocations: 47.88 kB / 0.8399 GB, free: 0.6328 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.0002197/0.2043, allocations: 153 kB / 0.84 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2046, allocations: 59.95 kB / 0.8401 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2046, allocations: 4 kB / 0.8401 GB, free: 424 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.2047, allocations: 27.98 kB / 0.8401 GB, free: 396 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2051, allocations: 60.38 kB / 0.8401 GB, free: 336 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.2056, allocations: 342.6 kB / 0.8405 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2058, allocations: 118.8 kB / 0.8406 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.2058, allocations: 11.98 kB / 0.8406 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.2058, allocations: 7.438 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.2058, allocations: 4 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.005378/0.2112, allocations: 2.228 MB / 0.8428 GB, free: 13.65 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.297038484364748] Failed to read output from testmodel.py, exit status != 0: 0.21808805875480175 0.23302224600000002 0.031372493 Calling exit ...