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.0008168/0.0008168, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008252/0.0008252, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9108/0.9108, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5518/0.5518, allocations: 114 MB / 373.9 MB, free: 8.688 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.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5542 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.541e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001332/0.001347, allocations: 0.7601 MB / 0.555 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.002555, allocations: 1.17 MB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.0026, allocations: 0 / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.002627, allocations: 3.938 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.002695, allocations: 19.84 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.003074, allocations: 138.6 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003216, allocations: 135.7 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.003302, allocations: 7.984 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.003407, allocations: 63.95 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.003488, allocations: 47.86 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.00351, allocations: 8 kB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.622e-05/0.003566, allocations: 27.98 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.003588, allocations: 11.92 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.003633, allocations: 35.97 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003797, allocations: 147.6 kB / 0.5568 GB, free: 132 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003799, allocations: 0 / 0.5568 GB, free: 132 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.073e-06/0.0038, allocations: 0 / 0.5568 GB, free: 132 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003804, allocations: 3.938 kB / 0.5568 GB, free: 128 kB / 0.5105 GB 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.0004815/0.004286, allocations: 347.8 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004326, allocations: 8.625 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.004352, allocations: 34.75 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.004386, allocations: 8.891 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.004457, allocations: 121.7 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004468, allocations: 4.375 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.004484, allocations: 4.375 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.004642, allocations: 78.2 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.004652, allocations: 192 / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.004664, allocations: 4.375 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004669, allocations: 4.125 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.004818, allocations: 79.8 kB / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.00516, allocations: 279.8 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.005265, allocations: 58.53 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.005343, allocations: 48.84 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.00536, allocations: 0 / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.00552, allocations: 99.28 kB / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.005521, allocations: 3.938 kB / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003378/0.005858, allocations: 161.5 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.005886, allocations: 51.41 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.005952, allocations: 122.1 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.005971, allocations: 33.7 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.006013, allocations: 92.12 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.006028, allocations: 15.86 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.006074, allocations: 33.7 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.006143, allocations: 318.8 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.006271, allocations: 97.58 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.006393, allocations: 112.2 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.006578, allocations: 140.2 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.00658, allocations: 0 / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002988/0.006879, allocations: 245 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.006909, allocations: 45.62 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006914, allocations: 320 / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006925, allocations: 4 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.006998, allocations: 15.98 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007004, allocations: 4 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.007114, allocations: 51.86 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.007128, allocations: 4 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB 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 6.224e-05/0.00719, allocations: 117.9 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.007201, allocations: 15.89 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.007223, allocations: 12.42 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007225, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007228, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007232, allocations: 0 / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.13e-05/0.007313, allocations: 148.7 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007314, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.007357, allocations: 23.92 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.007358, allocations: 3.938 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.007365, allocations: 0 / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.007366, allocations: 4 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007367, allocations: 0 / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.007566, allocations: 152.9 kB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.007574, allocations: 8 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.007586, allocations: 7.984 kB / 0.5598 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.00762, allocations: 11.98 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.007653, allocations: 4.078 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.00766, allocations: 11.94 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.007693, allocations: 98.14 kB / 0.56 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.007693, allocations: 0 / 0.56 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001441/0.007837, allocations: 23.95 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB 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.0004372/0.008274, allocations: 0.6904 MB / 0.5607 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.008553, allocations: 213 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.008555, allocations: 0 / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.008642, allocations: 48.09 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.008789, allocations: 14.17 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.01012, allocations: 1.755 MB / 0.5626 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.01016, allocations: 75.33 kB / 0.5627 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.01019, allocations: 0 / 0.5627 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01023, allocations: 20.5 kB / 0.5627 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.01023, allocations: 4 kB / 0.5627 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.0243, allocations: 3.499 MB / 0.5661 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.873, allocations: 4.969 kB / 0.5662 GB, free: 6.156 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.307725828140974] Failed to read output from testmodel.py, exit status != 0: 6.9547035386785865 6.964492509 6.958765613 Calling exit ...