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.001253/0.001253, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001551/0.001551, allocations: 221.5 kB / 23.01 MB, free: 5.043 MB / 14.72 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] 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.8999/0.8999, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 66.27 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1847, allocations: 89.17 MB / 0.7284 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003898/0.1886, allocations: 1.963 MB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.191, allocations: 1.29 MB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1911, allocations: 3.938 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.1916, allocations: 95.56 kB / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.192, allocations: 143.4 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1924, allocations: 123.6 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.1928, allocations: 235.4 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.193, allocations: 30.08 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.1932, allocations: 111.6 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1934, allocations: 115.5 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.1935, allocations: 16 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1936, allocations: 51.97 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1937, allocations: 63.83 kB / 0.7325 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1938, allocations: 91.39 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1942, allocations: 282.7 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1943, allocations: 4 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1943, allocations: 0 / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.1943, allocations: 0 / 0.7328 GB, free: 12.61 MB / 0.5606 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.001024/0.1953, allocations: 488.9 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1953, allocations: 8.031 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.1954, allocations: 42.75 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.214e-05/0.1955, allocations: 32.69 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1959, allocations: 229 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1959, allocations: 15.98 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1959, allocations: 8 kB / 0.7336 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1962, allocations: 114.4 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1962, allocations: 7.875 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1962, allocations: 15.88 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1962, allocations: 4 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.1965, allocations: 83.92 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/0.1973, allocations: 423.5 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.1976, allocations: 124.6 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1978, allocations: 52.81 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1978, allocations: 4 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1981, allocations: 126.2 kB / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1981, allocations: 8 kB / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0006463/0.1987, allocations: 237.4 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1988, allocations: 59.41 kB / 0.7348 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1992, allocations: 341.8 kB / 0.7352 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1992, allocations: 33.7 kB / 0.7352 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1993, allocations: 136.5 kB / 0.7353 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1993, allocations: 39.69 kB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/0.1994, allocations: 65.64 kB / 0.7354 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1996, allocations: 338.8 kB / 0.7357 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1998, allocations: 79.95 kB / 0.7358 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.2, allocations: 137 kB / 0.7359 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.2004, allocations: 192 kB / 0.7361 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2004, allocations: 4 kB / 0.7361 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005692/0.201, allocations: 285.2 kB / 0.7364 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.201, allocations: 4 kB / 0.7364 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.201, allocations: 0 / 0.7364 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.201, allocations: 4 kB / 0.7364 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.2013, allocations: 44.06 kB / 0.7365 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2013, allocations: 4 kB / 0.7365 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2014, allocations: 27.88 kB / 0.7365 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2014, allocations: 12 kB / 0.7365 GB, free: 8.633 MB / 0.5606 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.0001693/0.2016, allocations: 161.7 kB / 0.7366 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2017, allocations: 23.86 kB / 0.7367 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.2021, allocations: 211.6 kB / 0.7369 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2021, allocations: 3.984 kB / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2021, allocations: 0 / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2021, allocations: 3.984 kB / 0.7369 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.203, allocations: 0.5237 MB / 0.7374 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.203, allocations: 0 / 0.7374 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.2031, allocations: 15.92 kB / 0.7374 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2031, allocations: 8 kB / 0.7374 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2031, allocations: 8 kB / 0.7374 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2031, allocations: 0 / 0.7374 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2031, allocations: 3.938 kB / 0.7374 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2035, allocations: 291.2 kB / 0.7377 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.2036, allocations: 35.78 kB / 0.7377 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.2036, allocations: 4 kB / 0.7377 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2038, allocations: 15.98 kB / 0.7378 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.2038, allocations: 23.91 kB / 0.7378 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2039, allocations: 7.938 kB / 0.7378 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002247/0.2041, allocations: 213.2 kB / 0.738 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2041, allocations: 0 / 0.738 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003279/0.2044, allocations: 51.92 kB / 0.738 GB, free: 6.969 MB / 0.5606 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 (16): * Single equations (assignments): 11 * 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.00226/0.2067, allocations: 1.142 MB / 0.7392 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.2072, allocations: 188.3 kB / 0.7393 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2072, allocations: 0 / 0.7393 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.2073, allocations: 59.91 kB / 0.7394 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2078, allocations: 60.2 kB / 0.7395 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.2114, allocations: 2.6 MB / 0.742 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2117, allocations: 0.748 MB / 0.7427 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000113/0.2118, allocations: 41.92 kB / 0.7428 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.212, allocations: 75.41 kB / 0.7428 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.212, allocations: 0 / 0.7428 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.2467, allocations: 5.748 MB / 0.7484 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11, allocations: 6.562 kB / 0.7485 GB, free: 12.44 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.929266666062176] Failed to read output from testmodel.py, exit status != 0: 11.161657145945355 11.465600212 10.979669449 Calling exit ...