Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.0007198/0.0007198, allocations: 72.5 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.0007434/0.0007434, allocations: 178.2 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.868/0.868, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.00139/0.00139, allocations: 230.2 kB / 260.2 MB, free: 13.03 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.651/0.651, allocations: 138.4 MB / 455.1 MB, free: 30.04 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.642e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.2461/0.2461, allocations: 1.698 MB / 0.6492 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.2467, allocations: 420.8 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.2467, allocations: 0.9375 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.2471, allocations: 136.6 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.2471, allocations: 54.98 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2474, allocations: 64.78 kB / 0.6498 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2475, allocations: 102.1 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2475, allocations: 5.031 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.2476, allocations: 45.88 kB / 0.65 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.2477, allocations: 48.83 kB / 0.65 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.2477, allocations: 2.688 kB / 0.65 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2479, allocations: 73.66 kB / 0.6501 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.2479, allocations: 58.72 kB / 0.6501 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.248, allocations: 36.16 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.2482, allocations: 183 kB / 0.6503 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2482, allocations: 1.656 kB / 0.6503 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2482, allocations: 0.5625 kB / 0.6503 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2482, allocations: 0.5938 kB / 0.6503 GB, free: 56.05 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.0003977/0.2486, allocations: 415.4 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2486, allocations: 10.59 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.2487, allocations: 25.48 kB / 0.6508 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.2488, allocations: 160.4 kB / 0.6509 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2488, allocations: 3.75 kB / 0.6509 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.2488, allocations: 1.344 kB / 0.6509 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2489, allocations: 51.2 kB / 0.651 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2489, allocations: 1.562 kB / 0.651 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2489, allocations: 5 kB / 0.651 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2489, allocations: 7.844 kB / 0.651 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.655e-05/0.249, allocations: 39.56 kB / 0.651 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.2493, allocations: 262 kB / 0.6513 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.2494, allocations: 44.22 kB / 0.6513 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.2494, allocations: 27.73 kB / 0.6513 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.2495, allocations: 5.781 kB / 0.6514 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2495, allocations: 31.31 kB / 0.6514 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2495, allocations: 0.6562 kB / 0.6514 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002229/0.2497, allocations: 120.2 kB / 0.6515 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2497, allocations: 53.94 kB / 0.6515 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2499, allocations: 256 kB / 0.6518 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2499, allocations: 27.67 kB / 0.6518 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.2499, allocations: 133.2 kB / 0.6519 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2499, allocations: 5.422 kB / 0.652 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.25, allocations: 16.08 kB / 0.652 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.25, allocations: 336.9 kB / 0.6523 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.2501, allocations: 20.47 kB / 0.6523 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.2501, allocations: 17.7 kB / 0.6523 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.2502, allocations: 50.69 kB / 0.6524 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2502, allocations: 0 / 0.6524 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.2503, allocations: 92.62 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2503, allocations: 10.06 kB / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2503, allocations: 0 / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2503, allocations: 0 / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.2504, allocations: 8.672 kB / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2504, allocations: 2.094 kB / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.2504, allocations: 10.3 kB / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2504, allocations: 2.938 kB / 0.6525 GB, free: 54.5 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 5.475e-05/0.2505, allocations: 134.7 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.2505, allocations: 20.34 kB / 0.6526 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.2506, allocations: 99.23 kB / 0.6527 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2506, allocations: 0.7188 kB / 0.6527 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2506, allocations: 0 / 0.6527 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2506, allocations: 8.078 kB / 0.6527 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.2507, allocations: 157.2 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2507, allocations: 0 / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.2508, allocations: 9.5 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2508, allocations: 1.656 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2508, allocations: 1.172 kB / 0.6529 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2508, allocations: 3.938 kB / 0.6529 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2508, allocations: 1.656 kB / 0.6529 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2509, allocations: 186.2 kB / 0.6531 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.2509, allocations: 20.92 kB / 0.6531 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2509, allocations: 0 / 0.6531 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.2509, allocations: 10.81 kB / 0.6531 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.251, allocations: 2.844 kB / 0.6531 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.251, allocations: 1.844 kB / 0.6531 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.408e-05/0.2511, allocations: 187.2 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2511, allocations: 1.781 kB / 0.6533 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001712/0.2512, allocations: 32.73 kB / 0.6533 GB, free: 53.98 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.000164/0.2514, allocations: 134.3 kB / 0.6535 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2515, allocations: 42.94 kB / 0.6535 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.2515, allocations: 0 / 0.6535 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.2516, allocations: 27.3 kB / 0.6535 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.2519, allocations: 48.61 kB / 0.6536 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.2524, allocations: 363.6 kB / 0.6539 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.2525, allocations: 120.9 kB / 0.654 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.2525, allocations: 14.28 kB / 0.6541 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.2525, allocations: 0 / 0.6541 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.003325/0.2558, allocations: 1.925 MB / 0.6559 GB, free: 53.46 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.326687957160175] Failed to read output from testmodel.py, exit status != 0: 0.26068155094981194 0.26810852699999993 0.01845768 Calling exit ...