Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.001121/0.001121, allocations: 76.55 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.001273/0.001273, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8923/0.8923, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5628/0.5628, allocations: 114 MB / 373.9 MB, free: 8.723 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.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.46e-05, allocations: 5.766 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003295/0.003319, allocations: 1.888 MB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.005405, allocations: 1.212 MB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.005543, allocations: 7.938 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.00593, allocations: 91.56 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.006343, allocations: 147.2 kB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.00665, allocations: 131.5 kB / 0.5576 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.006959, allocations: 235.3 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.007117, allocations: 33.64 kB / 0.5578 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.007333, allocations: 127.6 kB / 0.558 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.007492, allocations: 95.75 kB / 0.5581 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.007525, allocations: 12 kB / 0.5581 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.007658, allocations: 59.84 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.007745, allocations: 59.83 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.007822, allocations: 59.77 kB / 0.5582 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.008208, allocations: 287 kB / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.008213, allocations: 0 / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008214, allocations: 0 / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.00822, allocations: 0 / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008586/0.009079, allocations: 484.9 kB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.009121, allocations: 8.625 kB / 0.559 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.009171, allocations: 42.75 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.009232, allocations: 24.8 kB / 0.559 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.009611, allocations: 232.7 kB / 0.5593 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.009633, allocations: 15.98 kB / 0.5593 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.009652, allocations: 8 kB / 0.5593 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.00995, allocations: 123.1 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.00996, allocations: 3.938 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.009975, allocations: 4 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.009983, allocations: 7.938 kB / 0.5594 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.01025, allocations: 83.92 kB / 0.5595 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.01095, allocations: 403.8 kB / 0.5599 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.01126, allocations: 122.6 kB / 0.56 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.01138, allocations: 56.83 kB / 0.5601 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.0114, allocations: 3.984 kB / 0.5601 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.01166, allocations: 129.7 kB / 0.5602 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.01167, allocations: 7.938 kB / 0.5602 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0005924/0.01226, allocations: 253.2 kB / 0.5604 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.0123, allocations: 55.41 kB / 0.5605 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.01266, allocations: 341.8 kB / 0.5608 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01268, allocations: 29.7 kB / 0.5608 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.01278, allocations: 140.5 kB / 0.561 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.01282, allocations: 39.7 kB / 0.561 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.01292, allocations: 61.69 kB / 0.5611 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01303, allocations: 334.8 kB / 0.5614 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.01323, allocations: 87.94 kB / 0.5615 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.01344, allocations: 129.1 kB / 0.5616 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.01377, allocations: 195.6 kB / 0.5618 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01378, allocations: 0 / 0.5618 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005267/0.0143, allocations: 285.2 kB / 0.5621 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01432, allocations: 7.938 kB / 0.5621 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01433, allocations: 3.984 kB / 0.5621 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01435, allocations: 8.156 kB / 0.5621 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.01452, allocations: 39.92 kB / 0.5621 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01453, allocations: 3.984 kB / 0.5621 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01466, allocations: 27.88 kB / 0.5621 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.01469, allocations: 12 kB / 0.5622 GB, free: 10.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001493/0.01484, allocations: 153.8 kB / 0.5623 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.01488, allocations: 27.8 kB / 0.5623 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.01531, allocations: 215.5 kB / 0.5625 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01532, allocations: 0 / 0.5625 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01532, allocations: 4 kB / 0.5625 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.01533, allocations: 7.922 kB / 0.5626 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.01618, allocations: 0.5232 MB / 0.5631 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.01618, allocations: 0 / 0.5631 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.01625, allocations: 15.98 kB / 0.5631 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.01625, allocations: 4 kB / 0.5631 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01627, allocations: 4 kB / 0.5631 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01627, allocations: 7.938 kB / 0.5631 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01627, allocations: 3.938 kB / 0.5631 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.01658, allocations: 311.7 kB / 0.5634 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.01662, allocations: 19.86 kB / 0.5634 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01665, allocations: 8 kB / 0.5634 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01677, allocations: 15.97 kB / 0.5634 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.01683, allocations: 15.98 kB / 0.5635 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.01684, allocations: 15.98 kB / 0.5635 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000153/0.017, allocations: 205.2 kB / 0.5637 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.017, allocations: 0 / 0.5637 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002519/0.01725, allocations: 55.92 kB / 0.5637 GB, free: 8.695 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00115/0.0184, allocations: 1.182 MB / 0.5649 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01871, allocations: 185.9 kB / 0.565 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01871, allocations: 0 / 0.565 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01882, allocations: 67.91 kB / 0.5651 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01911, allocations: 67.91 kB / 0.5652 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.02144, allocations: 2.651 MB / 0.5678 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.02153, allocations: 149.2 kB / 0.5679 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.633e-05/0.02161, allocations: 29.94 kB / 0.5679 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.0217, allocations: 76.47 kB / 0.568 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.0217, allocations: 3.938 kB / 0.568 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.04007, allocations: 6.54 MB / 0.5744 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.768, allocations: 3.984 kB / 0.5744 GB, free: 13.93 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.218107976019382] Failed to read output from testmodel.py, exit status != 0: 6.871327499859035 6.883707406 6.872324396 Calling exit ...