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.001796/0.001796, allocations: 80.3 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.002088/0.002088, allocations: 163 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.002427/0.002427, allocations: 229.7 kB / 259.4 MB, free: 468 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.064/1.064, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.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.232e-06/1.232e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.653e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003024/0.003051, allocations: 1.71 MB / 0.6484 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.003772, allocations: 454.2 kB / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.003809, allocations: 0 / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.004226, allocations: 135.3 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.004314, allocations: 59.61 kB / 0.6491 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.004579, allocations: 71.72 kB / 0.6491 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.004731, allocations: 103.4 kB / 0.6492 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.004771, allocations: 0 / 0.6492 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.004855, allocations: 47.88 kB / 0.6493 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.004967, allocations: 51.81 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004983, allocations: 0 / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.005158, allocations: 75.84 kB / 0.6494 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.005247, allocations: 59.83 kB / 0.6495 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.0053, allocations: 27.94 kB / 0.6495 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.005633, allocations: 203.3 kB / 0.6497 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005635, allocations: 0 / 0.6497 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005635, allocations: 0 / 0.6497 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.005639, allocations: 0 / 0.6497 GB, free: 2.047 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.0006396/0.006278, allocations: 409 kB / 0.6501 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.006314, allocations: 9.938 kB / 0.6501 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.006358, allocations: 24.8 kB / 0.6501 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.006527, allocations: 164.8 kB / 0.6503 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006539, allocations: 384 / 0.6503 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.00655, allocations: 4.375 kB / 0.6503 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.006751, allocations: 66.22 kB / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.00676, allocations: 192 / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.006769, allocations: 384 / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.00678, allocations: 4.125 kB / 0.6503 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.006989, allocations: 55.95 kB / 0.6504 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.007464, allocations: 280.5 kB / 0.6506 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.007632, allocations: 70.48 kB / 0.6507 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.007737, allocations: 32.89 kB / 0.6507 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.007777, allocations: 12 kB / 0.6508 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.007819, allocations: 38.55 kB / 0.6508 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.00782, allocations: 0 / 0.6508 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004129/0.008232, allocations: 145.4 kB / 0.6509 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.008278, allocations: 55.53 kB / 0.651 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.008546, allocations: 253.9 kB / 0.6512 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.008564, allocations: 25.7 kB / 0.6512 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.008666, allocations: 136.1 kB / 0.6514 GB, free: 156 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.008684, allocations: 7.891 kB / 0.6514 GB, free: 148 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.008721, allocations: 13.72 kB / 0.6514 GB, free: 128 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2845/0.2932, allocations: 330.8 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2933, allocations: 26.42 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.2934, allocations: 31.2 kB / 0.6518 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.2936, allocations: 65.34 kB / 0.6518 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2936, allocations: 0 / 0.6518 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002792/0.2939, allocations: 108.1 kB / 0.6519 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2939, allocations: 6.094 kB / 0.6519 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2939, allocations: 0 / 0.6519 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2939, allocations: 1.547 kB / 0.6519 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.294, allocations: 10.41 kB / 0.652 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2941, allocations: 7.438 kB / 0.652 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.2941, allocations: 6.453 kB / 0.652 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.2941, allocations: 3.406 kB / 0.652 GB, free: 56.75 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 0.0001011/0.2942, allocations: 134.5 kB / 0.6521 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.2943, allocations: 20.38 kB / 0.6521 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2946, allocations: 118.4 kB / 0.6522 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2946, allocations: 4.828 kB / 0.6522 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2946, allocations: 3.938 kB / 0.6522 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2946, allocations: 1.641 kB / 0.6522 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2948, allocations: 160.5 kB / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2948, allocations: 0 / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.2948, allocations: 15.97 kB / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2948, allocations: 0 / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2948, allocations: 0 / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2948, allocations: 3.406 kB / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2948, allocations: 0.6875 kB / 0.6524 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2951, allocations: 201.3 kB / 0.6526 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.2951, allocations: 22.78 kB / 0.6526 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2951, allocations: 0.75 kB / 0.6526 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.2952, allocations: 5.844 kB / 0.6526 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2953, allocations: 6.188 kB / 0.6526 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2953, allocations: 9.25 kB / 0.6526 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2954, allocations: 188.2 kB / 0.6528 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2954, allocations: 4.406 kB / 0.6528 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002819/0.2957, allocations: 39.8 kB / 0.6529 GB, free: 56.25 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.0002106/0.2959, allocations: 130.2 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2961, allocations: 61.16 kB / 0.6531 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2961, allocations: 3.562 kB / 0.6531 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.2962, allocations: 29.94 kB / 0.6531 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.2967, allocations: 44.2 kB / 0.6531 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.2972, allocations: 325.1 kB / 0.6534 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.2973, allocations: 127 kB / 0.6536 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.2974, allocations: 3.656 kB / 0.6536 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.2974, allocations: 12.69 kB / 0.6536 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2974, allocations: 0 / 0.6536 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.004736/0.3021, allocations: 1.863 MB / 0.6554 GB, free: 55.81 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.861514538526535] Failed to read output from testmodel.py, exit status != 0: 0.309588685631752 0.319201267 0.311318413 Calling exit ...