Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.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.001474/0.001474, allocations: 80.22 kB / 20.94 MB, free: 3.605 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.001667/0.001667, allocations: 169 kB / 24.25 MB, free: 304 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.9508/0.9508, allocations: 177.1 MB / 204.6 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6285/0.6285, allocations: 115 MB / 376 MB, free: 7.562 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.965e-05, allocations: 3.188 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001635/0.001664, allocations: 0.9014 MB / 482.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002875, allocations: 1.104 MB / 483.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.002951, allocations: 3.938 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.669e-05/0.003048, allocations: 13.09 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.003171, allocations: 52.72 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.003503, allocations: 137.9 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.003738, allocations: 356.4 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.003838, allocations: 19.61 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.004104, allocations: 235 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.004326, allocations: 187.8 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.004395, allocations: 32.72 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.004472, allocations: 39 kB / 484.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.004564, allocations: 109 kB / 484.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.00466, allocations: 99.52 kB / 484.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.004928, allocations: 274.1 kB / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004931, allocations: 0 / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004933, allocations: 0 / 485 MB, free: 9.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.004938, allocations: 2.188 kB / 485 MB, free: 9.887 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001014/0.005952, allocations: 0.7455 MB / 485.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.005991, allocations: 9.156 kB / 485.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.006185, allocations: 50.11 kB / 485.9 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.006568, allocations: 272.5 kB / 486.1 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.006599, allocations: 21.77 kB / 486.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.006634, allocations: 25.03 kB / 486.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.007117, allocations: 313.5 kB / 486.5 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.007127, allocations: 3.938 kB / 486.5 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.007149, allocations: 7.594 kB / 486.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.007159, allocations: 2.656 kB / 486.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.007389, allocations: 130.2 kB / 486.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.008376, allocations: 0.6653 MB / 487.3 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.008719, allocations: 212 kB / 487.5 MB, free: 24.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.008899, allocations: 118.5 kB / 487.6 MB, free: 24.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.008921, allocations: 4.156 kB / 487.6 MB, free: 24.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.009246, allocations: 288.9 kB / 487.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.009248, allocations: 0 / 487.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006954/0.009943, allocations: 489.1 kB / 488.4 MB, free: 24.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.009986, allocations: 99.69 kB / 488.5 MB, free: 24.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.01014, allocations: 257 kB / 488.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.01018, allocations: 56.23 kB / 488.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.01025, allocations: 174.7 kB / 488.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.01031, allocations: 82.86 kB / 489 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.01039, allocations: 88.62 kB / 489.1 MB, free: 23.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.01052, allocations: 0.5118 MB / 489.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.01065, allocations: 69.14 kB / 489.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.0108, allocations: 148.4 kB / 489.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.01098, allocations: 172 kB / 490 MB, free: 22.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01099, allocations: 1.312 kB / 490 MB, free: 22.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003493/0.01134, allocations: 287 kB / 490.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01135, allocations: 6.469 kB / 490.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.01136, allocations: 2.562 kB / 490.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01138, allocations: 3.594 kB / 490.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01155, allocations: 66.25 kB / 490.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.01156, allocations: 3.875 kB / 490.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01171, allocations: 68.72 kB / 490.4 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.01173, allocations: 14.81 kB / 490.4 MB, free: 22.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001264/0.01186, allocations: 199.8 kB / 490.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.01191, allocations: 37.73 kB / 490.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.01195, allocations: 33.55 kB / 490.7 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.01196, allocations: 4.156 kB / 490.7 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.01197, allocations: 1.812 kB / 490.7 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01197, allocations: 0.9688 kB / 490.7 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01212, allocations: 224.7 kB / 490.9 MB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01212, allocations: 4 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.01215, allocations: 9 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01216, allocations: 1.875 kB / 490.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.01218, allocations: 16.83 kB / 491 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01218, allocations: 2.438 kB / 491 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01218, allocations: 4.875 kB / 491 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.01268, allocations: 450.3 kB / 491.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.0127, allocations: 26.42 kB / 491.4 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.01275, allocations: 16.09 kB / 491.4 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.01292, allocations: 54.75 kB / 491.5 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.01305, allocations: 78.55 kB / 491.6 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.01307, allocations: 19.91 kB / 491.6 MB, free: 22.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.58e-05/0.01317, allocations: 172 kB / 491.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 0.7188 kB / 491.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.0134, allocations: 61.91 kB / 491.8 MB, free: 21.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0001856/0.01358, allocations: 131.2 kB / 492 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.01403, allocations: 266.3 kB / 492.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01404, allocations: 0 / 492.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.01425, allocations: 153.2 kB / 492.4 MB, free: 21.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.01459, allocations: 105.1 kB / 492.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008914/0.01548, allocations: 495.3 kB / 493 MB, free: 21.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.01553, allocations: 87.58 kB / 493 MB, free: 21.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.01564, allocations: 41.28 kB / 493.1 MB, free: 21.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01574, allocations: 48.39 kB / 493.1 MB, free: 21.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01574, allocations: 0 / 493.1 MB, free: 21.3 MB / 426.7 MB Notification: Performance of Templates: time 0.009378/0.02512, allocations: 6.211 MB / 499.3 MB, free: 20.85 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8118001150432974]