Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001058/0.001058, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001147/0.001147, allocations: 169.4 kB / 24.05 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 1.087/1.087, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.5995/0.5995, allocations: 115 MB / 376 MB, free: 7.508 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.259e-05, allocations: 5.703 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001307/0.001329, allocations: 0.8049 MB / 482.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.00251, allocations: 1.337 MB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.002566, allocations: 2.844 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.002599, allocations: 11.81 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.002676, allocations: 30.44 kB / 484.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.003213, allocations: 310.1 kB / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.003449, allocations: 290.5 kB / 484.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003558, allocations: 27.55 kB / 484.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.003711, allocations: 175.5 kB / 485 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.003835, allocations: 84.08 kB / 485 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.003879, allocations: 25.59 kB / 485.1 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.00395, allocations: 36.14 kB / 485.1 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.003974, allocations: 26.8 kB / 485.1 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.004044, allocations: 83.56 kB / 485.2 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.004233, allocations: 228.8 kB / 485.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004235, allocations: 0 / 485.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004236, allocations: 0.5625 kB / 485.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.00424, allocations: 0.625 kB / 485.4 MB, free: 9.695 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003797/0.004619, allocations: 0.5466 MB / 486 MB, free: 9.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.004654, allocations: 11.66 kB / 486 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.004706, allocations: 34.12 kB / 486 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004849, allocations: 164.4 kB / 486.2 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.004867, allocations: 13.78 kB / 486.2 MB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.004896, allocations: 24.25 kB / 486.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.004987, allocations: 90.2 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.004994, allocations: 0 / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005001, allocations: 1.062 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005007, allocations: 2.906 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.005041, allocations: 29.02 kB / 486.3 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.005361, allocations: 413.9 kB / 486.7 MB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.005479, allocations: 61.31 kB / 486.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.005498, allocations: 21.56 kB / 486.8 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.005507, allocations: 7.969 kB / 486.8 MB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.443e-05/0.005601, allocations: 111.1 kB / 486.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.005602, allocations: 0 / 486.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001954/0.005798, allocations: 137.7 kB / 487.1 MB, free: 8.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.005817, allocations: 57.94 kB / 487.1 MB, free: 8.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.00604, allocations: 209.7 kB / 487.3 MB, free: 24.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.006064, allocations: 31.67 kB / 487.4 MB, free: 24.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.006127, allocations: 168.1 kB / 487.5 MB, free: 24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006146, allocations: 36.19 kB / 487.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.006228, allocations: 85.44 kB / 487.6 MB, free: 23.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.006324, allocations: 0.4923 MB / 488.1 MB, free: 23.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.006429, allocations: 152.4 kB / 488.3 MB, free: 23.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.006547, allocations: 232.7 kB / 488.5 MB, free: 23.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.006696, allocations: 239.4 kB / 488.7 MB, free: 22.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006698, allocations: 0.6875 kB / 488.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003449/0.007043, allocations: 449.5 kB / 489.2 MB, free: 22.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.007083, allocations: 98.83 kB / 489.3 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007089, allocations: 1.688 kB / 489.3 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.007101, allocations: 6.625 kB / 489.3 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.007143, allocations: 12.92 kB / 489.3 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007148, allocations: 6.25 kB / 489.3 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.007341, allocations: 68.98 kB / 489.4 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.007367, allocations: 16.5 kB / 489.4 MB, free: 22.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 8.312e-05/0.00745, allocations: 177.6 kB / 489.6 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.007467, allocations: 16.94 kB / 489.6 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.007496, allocations: 18.47 kB / 489.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.0075, allocations: 6.75 kB / 489.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.007502, allocations: 0 / 489.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007506, allocations: 1.469 kB / 489.6 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.318e-05/0.007589, allocations: 126.8 kB / 489.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.007591, allocations: 6.656 kB / 489.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.007621, allocations: 20.14 kB / 489.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007623, allocations: 0 / 489.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007631, allocations: 2.781 kB / 489.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007632, allocations: 0 / 489.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007633, allocations: 0 / 489.8 MB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.007781, allocations: 166.3 kB / 489.9 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.007792, allocations: 7.734 kB / 489.9 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007805, allocations: 3.531 kB / 489.9 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.007821, allocations: 5.406 kB / 489.9 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.007851, allocations: 14.08 kB / 490 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.007858, allocations: 11.97 kB / 490 MB, free: 22.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.007915, allocations: 144 kB / 490.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007915, allocations: 0 / 490.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.008102, allocations: 56.58 kB / 490.2 MB, free: 21.96 MB / 426.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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001259/0.008228, allocations: 104.1 kB / 490.3 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.008524, allocations: 400.8 kB / 490.7 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008526, allocations: 0 / 490.7 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.008599, allocations: 46.66 kB / 490.7 MB, free: 21.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.00879, allocations: 34.91 kB / 490.7 MB, free: 21.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.0091, allocations: 232.6 kB / 491 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.009133, allocations: 64.47 kB / 491 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.009165, allocations: 17.52 kB / 491 MB, free: 21.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.00931, allocations: 124.9 kB / 491.2 MB, free: 21.21 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009311, allocations: 0 / 491.2 MB, free: 21.21 MB / 426.7 MB Notification: Performance of Templates: time 0.005651/0.01496, allocations: 3.286 MB / 494.5 MB, free: 20.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611633596010506]