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.001004/0.001004, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001005/0.001005, allocations: 173 kB / 23.02 MB, free: 1.551 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.9183/0.9183, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001784/0.001784, allocations: 233.6 kB / 260.2 MB, free: 12.84 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.6966/0.6966, allocations: 138.4 MB / 455.2 MB, free: 1.582 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.472e-06/1.472e-06, allocations: 0 / 0.5551 GB, free: 0.582 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.523e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.00221/0.002235, allocations: 1.759 MB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.002816, allocations: 0.4942 MB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.002852, allocations: 0 / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.003186, allocations: 135.4 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.003245, allocations: 59.55 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.003499, allocations: 67.78 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003611, allocations: 107.4 kB / 0.5577 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.003644, allocations: 3.984 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.003709, allocations: 43.89 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.003783, allocations: 51.81 kB / 0.5578 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.003797, allocations: 0 / 0.5578 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.003931, allocations: 83.72 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.003998, allocations: 59.83 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.004033, allocations: 27.94 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.004232, allocations: 171.4 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004234, allocations: 0 / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004235, allocations: 0 / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004239, allocations: 4 kB / 0.5581 GB, free: 13.5 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.0004237/0.004663, allocations: 0.5071 MB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.004698, allocations: 12.69 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.004738, allocations: 20.84 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.004846, allocations: 163.7 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004857, allocations: 384 / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.004866, allocations: 384 / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.00498, allocations: 54.95 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004987, allocations: 192 / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.004995, allocations: 384 / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005001, allocations: 8.125 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.005031, allocations: 11.98 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.005366, allocations: 323.7 kB / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.005421, allocations: 35.06 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.005446, allocations: 11.67 kB / 0.5592 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.00549, allocations: 8.062 kB / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.005509, allocations: 33.39 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.00551, allocations: 0 / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.005655, allocations: 65.59 kB / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.005681, allocations: 59.41 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.005852, allocations: 312.3 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005863, allocations: 25.7 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.00594, allocations: 198.8 kB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.005954, allocations: 0 / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.005981, allocations: 23.36 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.0061, allocations: 0.5118 MB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.006114, allocations: 0 / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.006123, allocations: 0 / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.006151, allocations: 15.75 kB / 0.5604 GB, free: 10.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006153, allocations: 4 kB / 0.5604 GB, free: 10.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.395e-05/0.006227, allocations: 69.47 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.006239, allocations: 7.938 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.006243, allocations: 0 / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.006256, allocations: 0 / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.006315, allocations: 4 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.006321, allocations: 3.984 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.006345, allocations: 4 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.00635, allocations: 0 / 0.5605 GB, free: 10.82 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 6.389e-05/0.006414, allocations: 164.5 kB / 0.5606 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.006433, allocations: 19.86 kB / 0.5607 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-05/0.006525, allocations: 66.56 kB / 0.5607 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006527, allocations: 3.938 kB / 0.5607 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.00653, allocations: 4 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.006532, allocations: 0 / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.006666, allocations: 184.6 kB / 0.5609 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006666, allocations: 0 / 0.5609 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.006685, allocations: 7.984 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006687, allocations: 0 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006693, allocations: 4.031 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006695, allocations: 3.938 kB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006696, allocations: 0 / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.84e-05/0.006785, allocations: 203.8 kB / 0.5611 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.006798, allocations: 15.89 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.00681, allocations: 0 / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.006849, allocations: 7.938 kB / 0.5611 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.00688, allocations: 4 kB / 0.5611 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006884, allocations: 4 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.006979, allocations: 217 kB / 0.5614 GB, free: 9.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006979, allocations: 4.031 kB / 0.5614 GB, free: 9.863 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.007155, allocations: 35.88 kB / 0.5614 GB, free: 9.828 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.0001381/0.007293, allocations: 123.2 kB / 0.5615 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.007369, allocations: 23.67 kB / 0.5615 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.00737, allocations: 0 / 0.5615 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.007386, allocations: 11.69 kB / 0.5615 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.007641, allocations: 48.47 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.008186, allocations: 299 kB / 0.5619 GB, free: 9.285 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.008235, allocations: 91.3 kB / 0.562 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.008267, allocations: 0 / 0.562 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.008288, allocations: 12.5 kB / 0.562 GB, free: 9.164 MB / 490.7 MB Notification: Performance of SimCode: time 6.22e-07/0.008289, allocations: 0 / 0.562 GB, free: 9.164 MB / 490.7 MB Notification: Performance of Templates: time 0.003779/0.01207, allocations: 2.017 MB / 0.5639 GB, free: 7.203 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.687137359753251]