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.001344/0.001344, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00159/0.00159, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.789 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.002582/0.002582, allocations: 288.5 kB / 312.7 MB, free: 2.605 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.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [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.003/0.003, allocations: 102.5 kB / 0.74 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.194, allocations: 95.38 MB / 0.8331 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003245/0.1973, allocations: 1.71 MB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.199, allocations: 1.032 MB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1991, allocations: 4 kB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.1996, allocations: 123.5 kB / 0.8359 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.1996, allocations: 63.66 kB / 0.836 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.2001, allocations: 167.4 kB / 0.8361 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.2003, allocations: 103.5 kB / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.2003, allocations: 7.938 kB / 0.8362 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.2004, allocations: 39.78 kB / 0.8363 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2005, allocations: 59.73 kB / 0.8363 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2005, allocations: 4 kB / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.2009, allocations: 187.6 kB / 0.8365 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.201, allocations: 59.8 kB / 0.8366 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.201, allocations: 51.67 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.2015, allocations: 294.9 kB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2015, allocations: 0 / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2015, allocations: 0 / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2015, allocations: 0 / 0.8369 GB, free: 3.93 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.0007565/0.2023, allocations: 436.8 kB / 0.8373 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2023, allocations: 13.94 kB / 0.8373 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2024, allocations: 20.8 kB / 0.8374 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2025, allocations: 161.6 kB / 0.8375 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2026, allocations: 4.375 kB / 0.8375 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2026, allocations: 4.359 kB / 0.8375 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2028, allocations: 89.72 kB / 0.8376 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2028, allocations: 0 / 0.8376 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2028, allocations: 4 kB / 0.8376 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2028, allocations: 0 / 0.8376 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2031, allocations: 99.92 kB / 0.8377 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.2036, allocations: 312.5 kB / 0.838 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2038, allocations: 114.3 kB / 0.8381 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.2039, allocations: 48.89 kB / 0.8382 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.204, allocations: 31.98 kB / 0.8382 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.204, allocations: 30.56 kB / 0.8382 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.204, allocations: 0 / 0.8382 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004806/0.2045, allocations: 197.5 kB / 0.8384 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2046, allocations: 51.41 kB / 0.8385 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.2049, allocations: 257.9 kB / 0.8387 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2049, allocations: 25.7 kB / 0.8387 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.205, allocations: 136.1 kB / 0.8389 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.205, allocations: 11.88 kB / 0.8389 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.205, allocations: 17.66 kB / 0.8389 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.2053, allocations: 334.8 kB / 0.8392 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2054, allocations: 47.97 kB / 0.8392 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2055, allocations: 55.98 kB / 0.8393 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.2057, allocations: 96.8 kB / 0.8394 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2057, allocations: 3.938 kB / 0.8394 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002791/0.206, allocations: 145.5 kB / 0.8395 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.206, allocations: 6.344 kB / 0.8395 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.206, allocations: 4.094 kB / 0.8395 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.206, allocations: 0 / 0.8395 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.2061, allocations: 11.98 kB / 0.8396 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2061, allocations: 3.938 kB / 0.8396 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.2062, allocations: 8 kB / 0.8396 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.2062, allocations: 0 / 0.8396 GB, free: 1.031 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.0001183/0.2063, allocations: 142.4 kB / 0.8397 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.2064, allocations: 19.86 kB / 0.8397 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.2067, allocations: 162.6 kB / 0.8399 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2067, allocations: 0 / 0.8399 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.2067, allocations: 11.98 kB / 0.8399 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2067, allocations: 0 / 0.8399 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.207, allocations: 185.2 kB / 0.8401 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.207, allocations: 0 / 0.8401 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.2071, allocations: 11.98 kB / 0.8401 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2071, allocations: 0 / 0.8401 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2071, allocations: 0 / 0.8401 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2071, allocations: 0 / 0.8401 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2071, allocations: 7.938 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.2075, allocations: 251.3 kB / 0.8403 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.2075, allocations: 16 kB / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2075, allocations: 0 / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2076, allocations: 11.97 kB / 0.8403 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.2077, allocations: 3.938 kB / 0.8404 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2077, allocations: 7.984 kB / 0.8404 GB, free: 156 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002815/0.2079, allocations: 185.2 kB / 0.8405 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2079, allocations: 0 / 0.8405 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003748/0.2083, allocations: 83.73 kB / 0.8406 GB, free: 15.89 MB / 0.5919 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.0003235/0.2086, allocations: 168.9 kB / 0.8408 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.209, allocations: 103.9 kB / 0.8409 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.209, allocations: 0 / 0.8409 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.2091, allocations: 51.97 kB / 0.8409 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.2096, allocations: 60.27 kB / 0.841 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.2104, allocations: 358.6 kB / 0.8413 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.2105, allocations: 122.8 kB / 0.8414 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.438e-05/0.2106, allocations: 8 kB / 0.8415 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2106, allocations: 11.44 kB / 0.8415 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.2106, allocations: 0 / 0.8415 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.006528/0.2171, allocations: 2.684 MB / 0.8441 GB, free: 12.36 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2919264398515224] Failed to read output from testmodel.py, exit status != 0: 0.22510959021747112 0.24109476800000001 0.036215146000000004 Calling exit ...