Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001323/0.001323, allocations: 73.88 kB / 20.65 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.001138/0.001138, allocations: 169 kB / 24.05 MB, free: 452 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.043/1.043, 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/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.6516/0.6516, allocations: 115 MB / 376 MB, free: 7.512 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.413e-05, allocations: 2.312 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00227/0.002304, allocations: 0.7831 MB / 482.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.003951, allocations: 1.189 MB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.004024, allocations: 1.906 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.004062, allocations: 7.875 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.004176, allocations: 14.08 kB / 484 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.004747, allocations: 139 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.00496, allocations: 128.7 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005065, allocations: 15.34 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005226, allocations: 72.19 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.005328, allocations: 39.62 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.005361, allocations: 11.34 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.005439, allocations: 27.81 kB / 484.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.005465, allocations: 11.14 kB / 484.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.005517, allocations: 38.72 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.005698, allocations: 99.3 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005701, allocations: 0 / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.005703, allocations: 0 / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005707, allocations: 0.7188 kB / 484.6 MB, free: 10.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004835/0.006191, allocations: 443.7 kB / 485 MB, free: 9.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.006242, allocations: 13.59 kB / 485 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.0063, allocations: 16.36 kB / 485.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.591e-05/0.006386, allocations: 122.5 kB / 485.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.006404, allocations: 4.75 kB / 485.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.006427, allocations: 6.562 kB / 485.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.006594, allocations: 69.8 kB / 485.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.006602, allocations: 2.031 kB / 485.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006612, allocations: 3.75 kB / 485.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.006618, allocations: 1.25 kB / 485.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.006653, allocations: 11 kB / 485.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.01032, allocations: 291.4 kB / 485.6 MB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.01042, allocations: 27.47 kB / 485.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.01045, allocations: 15.22 kB / 485.6 MB, free: 25.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.01049, allocations: 6.844 kB / 485.6 MB, free: 25.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.01064, allocations: 71.8 kB / 485.7 MB, free: 25.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.01064, allocations: 0.9688 kB / 485.7 MB, free: 25.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002723/0.01092, allocations: 79.72 kB / 485.8 MB, free: 25.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.01095, allocations: 52.44 kB / 485.8 MB, free: 24.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01108, allocations: 178.5 kB / 486 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01111, allocations: 28.08 kB / 486 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.01118, allocations: 146.6 kB / 486.2 MB, free: 24.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.01121, allocations: 18.33 kB / 486.2 MB, free: 24.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.01128, allocations: 36.58 kB / 486.2 MB, free: 24.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.01144, allocations: 0.4895 MB / 486.7 MB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.01152, allocations: 56.47 kB / 486.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/0.01161, allocations: 81.67 kB / 486.8 MB, free: 23.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.01172, allocations: 92.56 kB / 486.9 MB, free: 23.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01172, allocations: 0 / 486.9 MB, free: 23.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002597/0.01198, allocations: 182.3 kB / 487.1 MB, free: 23.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.01202, allocations: 48.52 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01203, allocations: 0 / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01204, allocations: 2.344 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01216, allocations: 13.06 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01216, allocations: 2.406 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01229, allocations: 23.52 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.01231, allocations: 5.281 kB / 487.2 MB, free: 23.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.022e-05/0.0124, allocations: 165.6 kB / 487.4 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.01242, allocations: 12.38 kB / 487.4 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.01245, allocations: 14.91 kB / 487.4 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01246, allocations: 5.188 kB / 487.4 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01246, allocations: 0 / 487.4 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01246, allocations: 2.812 kB / 487.4 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.01256, allocations: 117.7 kB / 487.5 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01256, allocations: 3.984 kB / 487.5 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.01262, allocations: 16.19 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01262, allocations: 1.531 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01263, allocations: 4.578 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01263, allocations: 0.5625 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01263, allocations: 3.938 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.01276, allocations: 100.4 kB / 487.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.01277, allocations: 9.797 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01279, allocations: 1.375 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.01282, allocations: 4.594 kB / 487.7 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.01286, allocations: 14 kB / 487.7 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01287, allocations: 5.641 kB / 487.7 MB, free: 23.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.01294, allocations: 138.4 kB / 487.8 MB, free: 23.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01294, allocations: 0 / 487.8 MB, free: 23.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01316, allocations: 21.66 kB / 487.8 MB, free: 23.2 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001728/0.01333, allocations: 105.9 kB / 487.9 MB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01352, allocations: 140.3 kB / 488.1 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01352, allocations: 0 / 488.1 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.01356, allocations: 26.27 kB / 488.1 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01377, allocations: 17.94 kB / 488.1 MB, free: 22.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.01413, allocations: 168.8 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.01416, allocations: 61.88 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.0142, allocations: 10.12 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.01431, allocations: 86.91 kB / 488.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01431, allocations: 0.5625 kB / 488.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of Templates: time 0.004304/0.01862, allocations: 1.874 MB / 490.3 MB, free: 22.53 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.521439875010401]