Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.004141/0.004141, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001024/0.001024, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9944/0.9944, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001733/0.001733, allocations: 233.6 kB / 261.3 MB, free: 12.66 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.7135/0.7135, allocations: 138.4 MB / 456.3 MB, free: 1.43 MB / 362.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 3.938 kB / 0.5563 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.887e-05, allocations: 2.312 kB / 0.5564 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.004801/0.00482, allocations: 1.763 MB / 0.5581 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007/0.005519, allocations: 0.498 MB / 0.5586 GB, free: 14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.005562, allocations: 0 / 0.5586 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.005961, allocations: 135.4 kB / 0.5587 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.009081, allocations: 55.62 kB / 0.5587 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.00937, allocations: 63.78 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.009509, allocations: 103.4 kB / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.00955, allocations: 4 kB / 0.5589 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.009635, allocations: 47.81 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.009734, allocations: 51.81 kB / 0.559 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.009749, allocations: 4 kB / 0.559 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.009909, allocations: 79.84 kB / 0.5591 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.009989, allocations: 59.83 kB / 0.5591 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.01003, allocations: 35.88 kB / 0.5592 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.01028, allocations: 163.4 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01028, allocations: 0 / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01028, allocations: 0 / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.01028, allocations: 0 / 0.5593 GB, free: 13.21 MB / 490.7 MB 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.0004799/0.01076, allocations: 0.5148 MB / 0.5598 GB, free: 12.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.0108, allocations: 12.75 kB / 0.5598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.01084, allocations: 16.84 kB / 0.5599 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.01097, allocations: 163.7 kB / 0.56 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.01098, allocations: 4.375 kB / 0.56 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.01099, allocations: 4.375 kB / 0.56 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.0111, allocations: 46.95 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01111, allocations: 4.125 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.01111, allocations: 4.375 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.01112, allocations: 8.062 kB / 0.5601 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.01114, allocations: 4 kB / 0.5601 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.01145, allocations: 276.4 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.01152, allocations: 31.05 kB / 0.5604 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.01153, allocations: 15.75 kB / 0.5604 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.01157, allocations: 12 kB / 0.5604 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.01159, allocations: 37.33 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.01159, allocations: 0 / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.01174, allocations: 57.53 kB / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01176, allocations: 51.41 kB / 0.5605 GB, free: 11.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.01501, allocations: 316.2 kB / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.01502, allocations: 25.7 kB / 0.5609 GB, free: 11.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01513, allocations: 194.7 kB / 0.5611 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.01515, allocations: 11.97 kB / 0.5611 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.01518, allocations: 19.5 kB / 0.5611 GB, free: 11.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01533, allocations: 0.5079 MB / 0.5616 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.01534, allocations: 4 kB / 0.5616 GB, free: 10.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.01536, allocations: 7.922 kB / 0.5616 GB, free: 10.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.01539, allocations: 15.69 kB / 0.5616 GB, free: 10.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01539, allocations: 0 / 0.5616 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.459e-05/0.01548, allocations: 53.56 kB / 0.5617 GB, free: 10.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01549, allocations: 4 kB / 0.5617 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01549, allocations: 0 / 0.5617 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.0155, allocations: 8.031 kB / 0.5617 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.01557, allocations: 11.98 kB / 0.5617 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.01557, allocations: 0 / 0.5617 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.01561, allocations: 0 / 0.5617 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01561, allocations: 4 kB / 0.5617 GB, free: 10.59 MB / 490.7 MB 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.385e-05/0.01569, allocations: 156.5 kB / 0.5618 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01572, allocations: 23.86 kB / 0.5619 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.01582, allocations: 62.62 kB / 0.5619 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01582, allocations: 3.938 kB / 0.5619 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.01583, allocations: 32 / 0.5619 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01583, allocations: 4 kB / 0.5619 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.01599, allocations: 141.2 kB / 0.5621 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01599, allocations: 0 / 0.5621 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.01603, allocations: 11.94 kB / 0.5621 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01604, allocations: 3.984 kB / 0.5621 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01604, allocations: 4 kB / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01604, allocations: 0 / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01604, allocations: 0 / 0.5621 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.01617, allocations: 211.7 kB / 0.5623 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.01619, allocations: 15.91 kB / 0.5623 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.01621, allocations: 4.031 kB / 0.5623 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.01629, allocations: 3.984 kB / 0.5623 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.01632, allocations: 7.938 kB / 0.5623 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01632, allocations: 0 / 0.5623 GB, free: 9.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.01644, allocations: 205.1 kB / 0.5625 GB, free: 9.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01644, allocations: 0 / 0.5625 GB, free: 9.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.01673, allocations: 43.86 kB / 0.5625 GB, free: 9.648 MB / 490.7 MB 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.0001733/0.0169, allocations: 123.2 kB / 0.5627 GB, free: 9.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.01698, allocations: 19.62 kB / 0.5627 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01698, allocations: 0 / 0.5627 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.017, allocations: 15.67 kB / 0.5627 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.01738, allocations: 44.34 kB / 0.5627 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.02101, allocations: 311.1 kB / 0.563 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.02107, allocations: 82.28 kB / 0.5631 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.659e-05/0.0211, allocations: 4 kB / 0.5631 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.0212, allocations: 94.17 kB / 0.5632 GB, free: 8.902 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0212, allocations: 0 / 0.5632 GB, free: 8.902 MB / 490.7 MB Notification: Performance of Templates: time 0.007383/0.02859, allocations: 2.048 MB / 0.5652 GB, free: 6.91 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.834818755276501]