Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001325/0.001325, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001546/0.001546, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.002419/0.002419, allocations: 231.5 kB / 259.4 MB, free: 480 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.08/1.08, allocations: 138.4 MB / 454.3 MB, free: 2.008 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.708e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003009/0.003036, allocations: 1.706 MB / 0.6484 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.003868, allocations: 458.1 kB / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.003929, allocations: 0 / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.004373, allocations: 131.3 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004476, allocations: 63.61 kB / 0.6491 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.004806, allocations: 63.73 kB / 0.6491 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.004974, allocations: 107.4 kB / 0.6492 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.005014, allocations: 4 kB / 0.6492 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.005098, allocations: 47.83 kB / 0.6493 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005203, allocations: 47.81 kB / 0.6493 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005221, allocations: 4 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.005396, allocations: 71.91 kB / 0.6494 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.005484, allocations: 59.83 kB / 0.6494 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.005538, allocations: 31.88 kB / 0.6495 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.005848, allocations: 207.2 kB / 0.6497 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005852, allocations: 4 kB / 0.6497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005852, allocations: 0 / 0.6497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.005858, allocations: 0 / 0.6497 GB, free: 2.039 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.0006317/0.00649, allocations: 409 kB / 0.6501 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.006531, allocations: 13.34 kB / 0.6501 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.006579, allocations: 20.8 kB / 0.6501 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006753, allocations: 156.9 kB / 0.6502 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.006761, allocations: 4.312 kB / 0.6503 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.006774, allocations: 384 / 0.6503 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.006975, allocations: 66.23 kB / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006984, allocations: 192 / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.006995, allocations: 4.375 kB / 0.6503 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.007004, allocations: 4.125 kB / 0.6503 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.007205, allocations: 63.88 kB / 0.6504 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.007686, allocations: 276.5 kB / 0.6506 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.007839, allocations: 58.55 kB / 0.6507 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.007942, allocations: 36.91 kB / 0.6507 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.007981, allocations: 11.98 kB / 0.6508 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.008006, allocations: 34.56 kB / 0.6508 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.008008, allocations: 0 / 0.6508 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004429/0.008451, allocations: 145.4 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.008488, allocations: 55.53 kB / 0.651 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.008754, allocations: 257.9 kB / 0.6512 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.008774, allocations: 25.7 kB / 0.6512 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.008871, allocations: 132.1 kB / 0.6514 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.00889, allocations: 7.891 kB / 0.6514 GB, free: 152 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.008924, allocations: 13.7 kB / 0.6514 GB, free: 132 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2586/0.2675, allocations: 331.9 kB / 0.6517 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.2677, allocations: 25.56 kB / 0.6517 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.2678, allocations: 30.06 kB / 0.6518 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.268, allocations: 67.16 kB / 0.6518 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.268, allocations: 0 / 0.6518 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002882/0.2682, allocations: 108.9 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2683, allocations: 4.531 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2683, allocations: 0.5 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.2683, allocations: 4.297 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.2684, allocations: 10.75 kB / 0.652 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2684, allocations: 7.906 kB / 0.652 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.2685, allocations: 5.516 kB / 0.652 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2685, allocations: 3.406 kB / 0.652 GB, free: 56.65 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 9.979e-05/0.2686, allocations: 134.4 kB / 0.6521 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.2686, allocations: 20.69 kB / 0.6521 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2689, allocations: 115.6 kB / 0.6522 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2689, allocations: 2.047 kB / 0.6522 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2689, allocations: 3.938 kB / 0.6522 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2689, allocations: 1.219 kB / 0.6522 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2691, allocations: 160.1 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2691, allocations: 4.234 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.2691, allocations: 11.88 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2691, allocations: 10.16 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2691, allocations: 1.281 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2691, allocations: 2.188 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2691, allocations: 0 / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.2694, allocations: 201.1 kB / 0.6526 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.2694, allocations: 18.83 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2694, allocations: 4.188 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.2695, allocations: 4.188 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2695, allocations: 6.219 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.2696, allocations: 8.594 kB / 0.6526 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001299/0.2697, allocations: 190.2 kB / 0.6528 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2697, allocations: 0 / 0.6528 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002791/0.27, allocations: 40.22 kB / 0.6529 GB, free: 56.15 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 (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.0001714/0.2701, allocations: 125.7 kB / 0.653 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2704, allocations: 62.2 kB / 0.653 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2704, allocations: 0 / 0.653 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.2705, allocations: 35.81 kB / 0.6531 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.2709, allocations: 42.27 kB / 0.6531 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.2714, allocations: 329.5 kB / 0.6534 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.371e-05/0.2714, allocations: 126 kB / 0.6536 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.2715, allocations: 3.656 kB / 0.6536 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.2715, allocations: 13.66 kB / 0.6536 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2715, allocations: 0.7188 kB / 0.6536 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.004616/0.2761, allocations: 1.858 MB / 0.6554 GB, free: 55.71 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.92692393809557] Failed to read output from testmodel.py, exit status != 0: 0.2837367430329323 0.29292959099999993 0.28483927699999995 Calling exit ...