Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 114.8 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195.6 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9644/0.9644, allocations: 149.5 MB / 456.3 MB, free: 1.281 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 70.62 kB / 0.6324 GB, free: 9.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1743, allocations: 87.87 MB / 0.7182 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002562/0.1769, allocations: 1.074 MB / 0.7193 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1794, allocations: 1.619 MB / 0.7208 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1796, allocations: 7.938 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1797, allocations: 15.75 kB / 0.7209 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1799, allocations: 43.64 kB / 0.7209 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.1806, allocations: 218.4 kB / 0.7211 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.1811, allocations: 339.3 kB / 0.7214 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.1812, allocations: 55.02 kB / 0.7215 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1815, allocations: 127.7 kB / 0.7216 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1817, allocations: 123.5 kB / 0.7217 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.1818, allocations: 36 kB / 0.7218 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1819, allocations: 43.98 kB / 0.7218 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.1819, allocations: 63.77 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1821, allocations: 119.5 kB / 0.722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.1826, allocations: 362.7 kB / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1826, allocations: 0 / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1826, allocations: 0 / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1826, allocations: 0 / 0.7223 GB, free: 12.94 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001035/0.1836, allocations: 487.8 kB / 0.7228 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1836, allocations: 8.625 kB / 0.7228 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.1837, allocations: 24.8 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1842, allocations: 222 kB / 0.723 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.1842, allocations: 16.66 kB / 0.723 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.1843, allocations: 24.36 kB / 0.7231 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.1847, allocations: 180.1 kB / 0.7232 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1847, allocations: 8 kB / 0.7232 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.1847, allocations: 7.984 kB / 0.7233 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1847, allocations: 4 kB / 0.7233 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.185, allocations: 128.8 kB / 0.7234 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1861, allocations: 0.6009 MB / 0.724 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1866, allocations: 170.8 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1868, allocations: 76.81 kB / 0.7242 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1868, allocations: 0 / 0.7242 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.1872, allocations: 202.5 kB / 0.7244 GB, free: 10.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.1872, allocations: 0 / 0.7244 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0007465/0.188, allocations: 329.3 kB / 0.7247 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.188, allocations: 63.34 kB / 0.7248 GB, free: 10.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1882, allocations: 188 kB / 0.725 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1882, allocations: 37.7 kB / 0.725 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1884, allocations: 132.6 kB / 0.7251 GB, free: 9.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.1884, allocations: 55.58 kB / 0.7252 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1885, allocations: 85.55 kB / 0.7252 GB, free: 9.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1887, allocations: 326.8 kB / 0.7256 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1889, allocations: 99.7 kB / 0.7257 GB, free: 9.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1891, allocations: 144.8 kB / 0.7258 GB, free: 9.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.1894, allocations: 213 kB / 0.726 GB, free: 8.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1894, allocations: 3.938 kB / 0.726 GB, free: 8.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005572/0.19, allocations: 339.2 kB / 0.7263 GB, free: 8.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.19, allocations: 41.69 kB / 0.7264 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.19, allocations: 8.094 kB / 0.7264 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1901, allocations: 0 / 0.7264 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1902, allocations: 31.92 kB / 0.7264 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1902, allocations: 0 / 0.7264 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.1904, allocations: 55.8 kB / 0.7265 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.1905, allocations: 12 kB / 0.7265 GB, free: 8.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 0.0001954/0.1907, allocations: 169.9 kB / 0.7266 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1907, allocations: 15.91 kB / 0.7266 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.1913, allocations: 273.2 kB / 0.7269 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1913, allocations: 0 / 0.7269 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1913, allocations: 0 / 0.7269 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1913, allocations: 7.984 kB / 0.7269 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.1922, allocations: 0.6304 MB / 0.7275 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1922, allocations: 0 / 0.7275 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.1923, allocations: 19.92 kB / 0.7275 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1923, allocations: 0 / 0.7275 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1923, allocations: 11.98 kB / 0.7276 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1923, allocations: 0 / 0.7276 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1923, allocations: 0 / 0.7276 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1928, allocations: 375.8 kB / 0.7279 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.1929, allocations: 23.78 kB / 0.7279 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.1929, allocations: 8 kB / 0.7279 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1931, allocations: 19.97 kB / 0.728 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.1931, allocations: 23.95 kB / 0.728 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.1932, allocations: 15.98 kB / 0.728 GB, free: 6.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001108/0.1933, allocations: 131.2 kB / 0.7281 GB, free: 6.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1933, allocations: 0 / 0.7281 GB, free: 6.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003184/0.1936, allocations: 63.89 kB / 0.7282 GB, free: 6.613 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001877/0.1938, allocations: 128.9 kB / 0.7283 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.1943, allocations: 279.2 kB / 0.7286 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1943, allocations: 0 / 0.7286 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1945, allocations: 100.5 kB / 0.7287 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1949, allocations: 58 kB / 0.7287 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.1957, allocations: 364.7 kB / 0.7291 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.196, allocations: 0.7401 MB / 0.7298 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.1961, allocations: 25.94 kB / 0.7298 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.1962, allocations: 27.44 kB / 0.7299 GB, free: 4.844 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.1962, allocations: 0 / 0.7299 GB, free: 4.844 MB / 0.545 GB Notification: Performance of Templates: time 0.007974/0.2042, allocations: 3.459 MB / 0.7332 GB, free: 1.418 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.454113107174635] Failed to read output from testmodel.py, exit status != 0: 0.2129375608637929 0.22732599 0.041745032 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f28ec6ad7b0>