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.001414/0.001414, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001361/0.001361, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.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.002495/0.002495, allocations: 233.9 kB / 259.4 MB, free: 452 kB / 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.093/1.093, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.9e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003093/0.003122, allocations: 1.714 MB / 0.6484 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.004856, allocations: 1.028 MB / 0.6495 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.004923, allocations: 4 kB / 0.6495 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.005376, allocations: 135.2 kB / 0.6496 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.005489, allocations: 55.67 kB / 0.6496 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.006048, allocations: 171.3 kB / 0.6498 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.006249, allocations: 115.4 kB / 0.6499 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.006296, allocations: 12 kB / 0.6499 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.006398, allocations: 43.89 kB / 0.65 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.006518, allocations: 55.8 kB / 0.65 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.006538, allocations: 4 kB / 0.65 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.006921, allocations: 187.6 kB / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.00704, allocations: 63.81 kB / 0.6503 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.007104, allocations: 35.88 kB / 0.6503 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.007648, allocations: 307.1 kB / 0.6506 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007651, allocations: 4 kB / 0.6506 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.12e-07/0.007651, allocations: 0 / 0.6506 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.007658, allocations: 0 / 0.6506 GB, free: 1.078 MB / 0.5606 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.0006982/0.008356, allocations: 440.7 kB / 0.651 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.008405, allocations: 13.28 kB / 0.651 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.008462, allocations: 28.8 kB / 0.6511 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.008655, allocations: 160.8 kB / 0.6512 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.008663, allocations: 384 / 0.6512 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.008678, allocations: 384 / 0.6512 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.008904, allocations: 82.22 kB / 0.6513 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.008914, allocations: 192 / 0.6513 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.008926, allocations: 4.125 kB / 0.6513 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.00893, allocations: 4 kB / 0.6513 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.009164, allocations: 99.88 kB / 0.6514 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.2745, allocations: 315.4 kB / 0.6517 GB, free: 57.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2747, allocations: 100.8 kB / 0.6518 GB, free: 57.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2749, allocations: 55.95 kB / 0.6518 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.2749, allocations: 23.44 kB / 0.6519 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2749, allocations: 34.36 kB / 0.6519 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.2749, allocations: 0 / 0.6519 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004574/0.2754, allocations: 192.2 kB / 0.6521 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.2754, allocations: 54.66 kB / 0.6521 GB, free: 57.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.2756, allocations: 259.7 kB / 0.6524 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.2756, allocations: 27.11 kB / 0.6524 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.2757, allocations: 137.7 kB / 0.6525 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.2757, allocations: 7.844 kB / 0.6525 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2757, allocations: 15.16 kB / 0.6526 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.2758, allocations: 332.8 kB / 0.6529 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2759, allocations: 49.69 kB / 0.6529 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.276, allocations: 50.45 kB / 0.653 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.2762, allocations: 99.17 kB / 0.6531 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2762, allocations: 0 / 0.6531 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002409/0.2764, allocations: 150.5 kB / 0.6532 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2765, allocations: 3.531 kB / 0.6532 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2765, allocations: 7.391 kB / 0.6532 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2765, allocations: 4.469 kB / 0.6532 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.2766, allocations: 12.91 kB / 0.6532 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2766, allocations: 0 / 0.6532 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.2766, allocations: 4.281 kB / 0.6532 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2767, allocations: 0 / 0.6532 GB, free: 56.42 MB / 0.5606 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 7.276e-05/0.2767, allocations: 135 kB / 0.6534 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.2768, allocations: 19.73 kB / 0.6534 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.2771, allocations: 169.7 kB / 0.6535 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2771, allocations: 7.688 kB / 0.6536 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2771, allocations: 0 / 0.6536 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2771, allocations: 0.7188 kB / 0.6536 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2773, allocations: 188.7 kB / 0.6537 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2773, allocations: 1.156 kB / 0.6537 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.2773, allocations: 10.52 kB / 0.6537 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2773, allocations: 4.375 kB / 0.6538 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2773, allocations: 0 / 0.6538 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2773, allocations: 0.5625 kB / 0.6538 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2773, allocations: 3.938 kB / 0.6538 GB, free: 56.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2776, allocations: 246.8 kB / 0.654 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.2776, allocations: 17.38 kB / 0.654 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2776, allocations: 1.312 kB / 0.654 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.2777, allocations: 6.719 kB / 0.654 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.2778, allocations: 7.859 kB / 0.654 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2778, allocations: 9.188 kB / 0.654 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000117/0.2779, allocations: 184.5 kB / 0.6542 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2779, allocations: 0.5312 kB / 0.6542 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003204/0.2782, allocations: 76.78 kB / 0.6543 GB, free: 55.91 MB / 0.5606 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.000271/0.2785, allocations: 185 kB / 0.6545 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.2787, allocations: 105.6 kB / 0.6546 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2787, allocations: 0 / 0.6546 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2788, allocations: 53.25 kB / 0.6546 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.2793, allocations: 44.73 kB / 0.6547 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.2798, allocations: 352.9 kB / 0.655 GB, free: 55.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.2798, allocations: 127.8 kB / 0.6551 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.2799, allocations: 7.75 kB / 0.6551 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2799, allocations: 11.44 kB / 0.6551 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2799, allocations: 3.844 kB / 0.6551 GB, free: 55.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.005201/0.2851, allocations: 2.431 MB / 0.6575 GB, free: 55.38 MB / 0.5606 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: 5.976764123886824] Failed to read output from testmodel.py, exit status != 0: 0.292654063552618 0.30178308800000003 0.29193732 Calling exit ...