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.001725/0.001725, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002137/0.002137, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9965/0.9965, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.002329/0.002329, allocations: 65.52 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2019, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.004057/0.206, allocations: 1.887 MB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2085, allocations: 1.204 MB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2086, allocations: 3.938 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.209, allocations: 91.62 kB / 0.7313 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.2094, allocations: 143.4 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.2097, allocations: 127.6 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.2101, allocations: 231.4 kB / 0.7318 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2102, allocations: 30.08 kB / 0.7318 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2104, allocations: 107.5 kB / 0.7319 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.2106, allocations: 107.5 kB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2107, allocations: 16 kB / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2108, allocations: 51.97 kB / 0.7321 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.211, allocations: 63.77 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.2111, allocations: 71.53 kB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2115, allocations: 282.8 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2115, allocations: 4 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2115, allocations: 0 / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.2115, allocations: 0 / 0.7325 GB, free: 12.64 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.001103/0.2126, allocations: 488.9 kB / 0.7329 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2127, allocations: 8.031 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.2127, allocations: 42.73 kB / 0.733 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.2128, allocations: 28.75 kB / 0.733 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.2132, allocations: 232.8 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2132, allocations: 8 kB / 0.7332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.2133, allocations: 16 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.2136, allocations: 118.7 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2136, allocations: 0 / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.2136, allocations: 11.91 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2136, allocations: 4 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.2139, allocations: 83.92 kB / 0.7335 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.2147, allocations: 411.6 kB / 0.7338 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.2151, allocations: 141 kB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.2153, allocations: 52.83 kB / 0.734 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2153, allocations: 0 / 0.734 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.2156, allocations: 123.5 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.2156, allocations: 4 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0007295/0.2164, allocations: 258.7 kB / 0.7344 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2164, allocations: 55.39 kB / 0.7345 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.2169, allocations: 341.8 kB / 0.7348 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2169, allocations: 33.7 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.217, allocations: 144.4 kB / 0.735 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2171, allocations: 31.75 kB / 0.735 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2172, allocations: 61.64 kB / 0.735 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2173, allocations: 342.8 kB / 0.7354 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2176, allocations: 87.94 kB / 0.7355 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.2178, allocations: 133.1 kB / 0.7356 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.2183, allocations: 196.1 kB / 0.7358 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2183, allocations: 0 / 0.7358 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006624/0.2189, allocations: 281.3 kB / 0.736 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.219, allocations: 7.984 kB / 0.736 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.219, allocations: 4 kB / 0.736 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.219, allocations: 4 kB / 0.736 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2192, allocations: 40.08 kB / 0.7361 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2192, allocations: 7.984 kB / 0.7361 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2194, allocations: 19.94 kB / 0.7361 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2194, allocations: 12 kB / 0.7361 GB, free: 8.656 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.0001764/0.2196, allocations: 161.7 kB / 0.7363 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2196, allocations: 23.8 kB / 0.7363 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.2202, allocations: 221.9 kB / 0.7365 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.2202, allocations: 4 kB / 0.7365 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2202, allocations: 0 / 0.7365 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2202, allocations: 3.984 kB / 0.7365 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.2211, allocations: 0.5248 MB / 0.737 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2211, allocations: 0 / 0.737 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.2212, allocations: 15.98 kB / 0.737 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2212, allocations: 0 / 0.737 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2212, allocations: 4 kB / 0.7371 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2212, allocations: 7.938 kB / 0.7371 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2213, allocations: 0 / 0.7371 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.2218, allocations: 309.5 kB / 0.7374 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.2218, allocations: 27.8 kB / 0.7374 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.2219, allocations: 8 kB / 0.7374 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.222, allocations: 19.97 kB / 0.7374 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.2221, allocations: 23.91 kB / 0.7374 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2221, allocations: 11.98 kB / 0.7374 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002531/0.2224, allocations: 213.1 kB / 0.7376 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2224, allocations: 0 / 0.7376 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003357/0.2227, allocations: 55.88 kB / 0.7377 GB, free: 6.965 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 (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.002455/0.2252, allocations: 1.167 MB / 0.7388 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.2257, allocations: 189.9 kB / 0.739 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2257, allocations: 0 / 0.739 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.2259, allocations: 71.89 kB / 0.7391 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2264, allocations: 50.5 kB / 0.7391 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.2303, allocations: 2.626 MB / 0.7417 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2305, allocations: 141.2 kB / 0.7418 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.2306, allocations: 37.92 kB / 0.7419 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2308, allocations: 79.41 kB / 0.7419 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.2308, allocations: 3.938 kB / 0.742 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.2676, allocations: 6.38 MB / 0.7482 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.46, allocations: 5.438 kB / 0.7482 GB, free: 12.39 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.709532619919628] Failed to read output from testmodel.py, exit status != 0: 11.630365468095988 11.96190923 11.433093975 Calling exit ...