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.0008224/0.0008224, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007827/0.0007827, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.859/0.859, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.00143/0.00143, allocations: 235 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6587/0.6587, allocations: 138.4 MB / 455.1 MB, free: 29.93 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.575e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.2639/0.264, allocations: 1.697 MB / 0.6492 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2651, allocations: 0.9216 MB / 0.6501 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.2651, allocations: 0.9375 kB / 0.6501 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.2655, allocations: 135 kB / 0.6502 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.2656, allocations: 61.48 kB / 0.6503 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.2659, allocations: 112.6 kB / 0.6504 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.266, allocations: 114.6 kB / 0.6505 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.2661, allocations: 5.172 kB / 0.6505 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.2662, allocations: 42.3 kB / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.2662, allocations: 53.14 kB / 0.6506 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2663, allocations: 2.438 kB / 0.6506 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.2665, allocations: 117.3 kB / 0.6507 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.2666, allocations: 62.17 kB / 0.6507 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.2666, allocations: 37.86 kB / 0.6508 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2669, allocations: 244.4 kB / 0.651 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2669, allocations: 3 kB / 0.651 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2669, allocations: 0.5625 kB / 0.651 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.2669, allocations: 0 / 0.651 GB, free: 55.8 MB / 0.5573 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.0004545/0.2674, allocations: 427.7 kB / 0.6514 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2674, allocations: 12.44 kB / 0.6514 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.2675, allocations: 21.19 kB / 0.6515 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.2676, allocations: 156.4 kB / 0.6516 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2676, allocations: 4.422 kB / 0.6516 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.2676, allocations: 1.031 kB / 0.6516 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2677, allocations: 65.03 kB / 0.6517 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2677, allocations: 1.938 kB / 0.6517 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2677, allocations: 6.891 kB / 0.6517 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2678, allocations: 2 kB / 0.6517 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2679, allocations: 62.81 kB / 0.6517 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.2682, allocations: 273.6 kB / 0.652 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.667e-05/0.2683, allocations: 61.97 kB / 0.6521 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.2684, allocations: 35.34 kB / 0.6521 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2684, allocations: 11.27 kB / 0.6521 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2684, allocations: 40.69 kB / 0.6521 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.2684, allocations: 0 / 0.6521 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.2687, allocations: 140.5 kB / 0.6523 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.2687, allocations: 56.84 kB / 0.6523 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.2688, allocations: 257 kB / 0.6526 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.2688, allocations: 25.7 kB / 0.6526 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.2689, allocations: 136.3 kB / 0.6527 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.2689, allocations: 7.891 kB / 0.6527 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.2689, allocations: 18.47 kB / 0.6528 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.269, allocations: 330.9 kB / 0.6531 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.269, allocations: 28.2 kB / 0.6531 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.2691, allocations: 33.89 kB / 0.6531 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.2692, allocations: 71.08 kB / 0.6532 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2692, allocations: 0 / 0.6532 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.2693, allocations: 113.6 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2693, allocations: 4.75 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2693, allocations: 0 / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2693, allocations: 2.906 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.2694, allocations: 12.09 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2694, allocations: 1.625 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.2694, allocations: 8.016 kB / 0.6533 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2695, allocations: 2.938 kB / 0.6533 GB, free: 54.24 MB / 0.5573 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 6.351e-05/0.2695, allocations: 133.9 kB / 0.6535 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.2695, allocations: 24.64 kB / 0.6535 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.2697, allocations: 119.1 kB / 0.6536 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2697, allocations: 1.594 kB / 0.6536 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2697, allocations: 0.75 kB / 0.6536 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2697, allocations: 0 / 0.6536 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.2698, allocations: 162.8 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2698, allocations: 2 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.2699, allocations: 10.81 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2699, allocations: 3.531 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2699, allocations: 5.75 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2699, allocations: 0.8906 kB / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2699, allocations: 0 / 0.6538 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.27, allocations: 207 kB / 0.654 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.27, allocations: 15.31 kB / 0.654 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2701, allocations: 5.688 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.2701, allocations: 10.28 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.2701, allocations: 2.906 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2701, allocations: 0 / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2702, allocations: 190.1 kB / 0.6542 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2702, allocations: 0 / 0.6542 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002077/0.2704, allocations: 59.09 kB / 0.6543 GB, free: 53.7 MB / 0.5573 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.0001894/0.2706, allocations: 149.8 kB / 0.6544 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2708, allocations: 62.89 kB / 0.6545 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2708, allocations: 0 / 0.6545 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.2708, allocations: 36.94 kB / 0.6545 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2712, allocations: 47.69 kB / 0.6545 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.2716, allocations: 367.7 kB / 0.6549 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.2717, allocations: 122.2 kB / 0.655 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2717, allocations: 13.84 kB / 0.655 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.2717, allocations: 0 / 0.655 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.003222/0.275, allocations: 2.078 MB / 0.657 GB, free: 53.15 MB / 0.5573 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: 5.231980039738119] Failed to read output from testmodel.py, exit status != 0: 0.28079746663570404 0.28846731000000003 0.020104306000000002 Calling exit ...