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.001883/0.001883, allocations: 118.8 kB / 17.84 MB, free: 5.238 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.002501/0.002501, allocations: 202.3 kB / 20.8 MB, free: 2.297 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.71/1.71, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.075/1.075, allocations: 150 MB / 460.2 MB, free: 5.297 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="cs",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.002099/0.002099, allocations: 72.52 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1626, allocations: 89.13 MB / 0.7239 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003973/0.1665, allocations: 1.94 MB / 0.7257 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1691, allocations: 1.282 MB / 0.727 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1693, allocations: 7.938 kB / 0.727 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.1697, allocations: 95.56 kB / 0.7271 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.1701, allocations: 139.4 kB / 0.7272 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1705, allocations: 119.6 kB / 0.7273 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.1709, allocations: 227.5 kB / 0.7276 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.171, allocations: 37.88 kB / 0.7276 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1713, allocations: 119.5 kB / 0.7277 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1715, allocations: 107.6 kB / 0.7278 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.1715, allocations: 12 kB / 0.7278 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1717, allocations: 55.91 kB / 0.7279 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1718, allocations: 63.81 kB / 0.7279 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1719, allocations: 95.34 kB / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.1725, allocations: 278.8 kB / 0.7283 GB, free: 15.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1725, allocations: 0 / 0.7283 GB, free: 15.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1725, allocations: 0 / 0.7283 GB, free: 15.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.1725, allocations: 0 / 0.7283 GB, free: 15.48 MB / 0.545 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.001241/0.1737, allocations: 0.5605 MB / 0.7288 GB, free: 14.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1738, allocations: 8.031 kB / 0.7289 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.1738, allocations: 4.375 kB / 0.7289 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.1738, allocations: 38.75 kB / 0.7289 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.1739, allocations: 28.75 kB / 0.7289 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.1744, allocations: 298.7 kB / 0.7292 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1744, allocations: 8 kB / 0.7292 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1745, allocations: 16 kB / 0.7292 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1749, allocations: 117.5 kB / 0.7293 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1749, allocations: 0 / 0.7293 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1749, allocations: 7.984 kB / 0.7293 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1749, allocations: 0 / 0.7293 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.1753, allocations: 91.86 kB / 0.7294 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.1762, allocations: 456.5 kB / 0.7299 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.1766, allocations: 122.6 kB / 0.73 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1768, allocations: 48.83 kB / 0.73 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1768, allocations: 8.188 kB / 0.73 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.1772, allocations: 127.2 kB / 0.7302 GB, free: 13.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.1772, allocations: 0 / 0.7302 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007683/0.1779, allocations: 247.3 kB / 0.7304 GB, free: 13.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.178, allocations: 59.41 kB / 0.7305 GB, free: 13.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.1784, allocations: 338.6 kB / 0.7308 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1785, allocations: 29.7 kB / 0.7308 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1786, allocations: 144.4 kB / 0.7309 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1787, allocations: 43.72 kB / 0.731 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1788, allocations: 57.64 kB / 0.731 GB, free: 12.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1789, allocations: 338.8 kB / 0.7314 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1792, allocations: 87.95 kB / 0.7314 GB, free: 12.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1795, allocations: 141.5 kB / 0.7316 GB, free: 11.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.1799, allocations: 191.9 kB / 0.7318 GB, free: 11.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1799, allocations: 4 kB / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006868/0.1806, allocations: 277.4 kB / 0.732 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1806, allocations: 5.562 kB / 0.732 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1806, allocations: 7.984 kB / 0.732 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1807, allocations: 0 / 0.732 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1809, allocations: 47.92 kB / 0.7321 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1809, allocations: 11.92 kB / 0.7321 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1811, allocations: 19.94 kB / 0.7321 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1811, allocations: 8 kB / 0.7321 GB, free: 11.29 MB / 0.545 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.0002192/0.1813, allocations: 173.5 kB / 0.7323 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.1814, allocations: 23.86 kB / 0.7323 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.1815, allocations: 26.17 kB / 0.7323 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1815, allocations: 0 / 0.7323 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1815, allocations: 4 kB / 0.7323 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1815, allocations: 0 / 0.7323 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.1825, allocations: 0.5627 MB / 0.7329 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1825, allocations: 0 / 0.7329 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.1826, allocations: 15.98 kB / 0.7329 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1826, allocations: 0 / 0.7329 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1826, allocations: 4 kB / 0.7329 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1826, allocations: 0 / 0.7329 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1826, allocations: 7.938 kB / 0.7329 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1831, allocations: 295.2 kB / 0.7332 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.1832, allocations: 105 kB / 0.7333 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1833, allocations: 4 kB / 0.7333 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1834, allocations: 11.98 kB / 0.7333 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.1835, allocations: 27.89 kB / 0.7333 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1835, allocations: 4 kB / 0.7334 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002519/0.1838, allocations: 213.9 kB / 0.7336 GB, free: 9.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1838, allocations: 0 / 0.7336 GB, free: 9.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003888/0.1842, allocations: 55.88 kB / 0.7336 GB, free: 9.68 MB / 0.545 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.002456/0.1866, allocations: 1.139 MB / 0.7347 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.1872, allocations: 182.5 kB / 0.7349 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1872, allocations: 0 / 0.7349 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1875, allocations: 67.89 kB / 0.735 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.1879, allocations: 52.31 kB / 0.735 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.1921, allocations: 2.617 MB / 0.7376 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.1925, allocations: 0.7558 MB / 0.7383 GB, free: 4.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.1926, allocations: 29.94 kB / 0.7383 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.1928, allocations: 79.34 kB / 0.7384 GB, free: 4.801 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.1928, allocations: 0 / 0.7384 GB, free: 4.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.219, allocations: 5.589 MB / 0.7439 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.686, allocations: 5.469 kB / 0.7439 GB, free: 15.29 MB / 0.5606 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 13.101495406997856] Failed to read output from testmodel.py, exit status != 0: 8.877109855995513 8.901592417 8.724601582 Calling exit ...