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.0009/0.0009, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001045/0.001045, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.9021/0.9021, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5667/0.5667, allocations: 114 MB / 373.9 MB, free: 8.711 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.959e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001418/0.001437, allocations: 0.7989 MB / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002674, allocations: 1.314 MB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.002725, allocations: 0 / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.002756, allocations: 7.875 kB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.002828, allocations: 31.72 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.003409, allocations: 325 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.003653, allocations: 295.4 kB / 0.5569 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003765, allocations: 37.53 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.003913, allocations: 155.8 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.004052, allocations: 91.72 kB / 0.5572 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.004086, allocations: 24 kB / 0.5572 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.004157, allocations: 43.97 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.004185, allocations: 23.92 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.004266, allocations: 91.84 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.004528, allocations: 307.2 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00453, allocations: 4 kB / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00453, allocations: 0 / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004535, allocations: 0 / 0.5576 GB, free: 14.17 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004939/0.005029, allocations: 458.9 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.005064, allocations: 8.031 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.005093, allocations: 46.73 kB / 0.5581 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.005144, allocations: 24.84 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.863e-05/0.005222, allocations: 126.2 kB / 0.5583 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.005246, allocations: 20.31 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.005277, allocations: 20.12 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005405, allocations: 91.66 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.005412, allocations: 4 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005424, allocations: 7.984 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.00543, allocations: 4 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.005501, allocations: 39.98 kB / 0.5584 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.005974, allocations: 415.5 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.006144, allocations: 66.67 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.006181, allocations: 24.8 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.006194, allocations: 7.984 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.006353, allocations: 119.1 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.006354, allocations: 0 / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002845/0.006639, allocations: 177.6 kB / 0.5592 GB, free: 12.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.006673, allocations: 55.41 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.006774, allocations: 166.2 kB / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.006808, allocations: 29.7 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.006869, allocations: 112 kB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.006892, allocations: 35.73 kB / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.006984, allocations: 77.66 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.007069, allocations: 322.8 kB / 0.56 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.007241, allocations: 185 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.007423, allocations: 244.5 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.007628, allocations: 250.7 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.007631, allocations: 4 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004557/0.008086, allocations: 493.5 kB / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.008137, allocations: 109 kB / 0.5612 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008142, allocations: 0 / 0.5612 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008153, allocations: 4 kB / 0.5612 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.00819, allocations: 11.94 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.008196, allocations: 4 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.008435, allocations: 83.86 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.008462, allocations: 23.98 kB / 0.5613 GB, free: 10.03 MB / 490.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.782e-05/0.00855, allocations: 129.8 kB / 0.5615 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.008563, allocations: 15.91 kB / 0.5615 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.008588, allocations: 16.72 kB / 0.5615 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008591, allocations: 7.938 kB / 0.5615 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.008595, allocations: 3.938 kB / 0.5615 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.0086, allocations: 3.984 kB / 0.5615 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.008716, allocations: 172.7 kB / 0.5617 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008718, allocations: 4 kB / 0.5617 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.008741, allocations: 16 kB / 0.5617 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008742, allocations: 0 / 0.5617 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.00875, allocations: 3.938 kB / 0.5617 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.008752, allocations: 11.92 kB / 0.5617 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008754, allocations: 3.984 kB / 0.5617 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.008911, allocations: 157 kB / 0.5619 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.008924, allocations: 11.89 kB / 0.5619 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.00894, allocations: 11.94 kB / 0.5619 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.008956, allocations: 0 / 0.5619 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.008986, allocations: 15.98 kB / 0.5619 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.008993, allocations: 7.984 kB / 0.5619 GB, free: 9.375 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.009045, allocations: 118.8 kB / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009045, allocations: 0 / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.00923, allocations: 55.89 kB / 0.5621 GB, free: 9.207 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: 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.0003492/0.009579, allocations: 0.706 MB / 0.5628 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.009944, allocations: 437.5 kB / 0.5632 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009945, allocations: 384 / 0.5632 GB, free: 7.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.009998, allocations: 47.92 kB / 0.5632 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.01018, allocations: 23.98 kB / 0.5632 GB, free: 7.922 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.01212, allocations: 2.623 MB / 0.5658 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.01217, allocations: 102.8 kB / 0.5659 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01221, allocations: 12.64 kB / 0.5659 GB, free: 4.957 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.01226, allocations: 40.48 kB / 0.5659 GB, free: 4.914 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01226, allocations: 3.938 kB / 0.566 GB, free: 4.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02835, allocations: 5.191 MB / 0.571 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/6.978, allocations: 5.5 kB / 0.571 GB, free: 15.93 MB / 0.4948 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.361475767567754] Failed to read output from testmodel.py, exit status != 0: 7.058059505186975 7.067079951 7.060823408 Calling exit ...