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.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.001524/0.001524, allocations: 100.4 kB / 20.45 MB, free: 1.25 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.001513/0.001513, allocations: 207 kB / 23.74 MB, free: 4.449 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9738/0.9738, allocations: 149.9 MB / 463.8 MB, free: 10.43 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: 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: 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.002133/0.002133, allocations: 73.42 kB / 0.6423 GB, free: 9.699 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1898, allocations: 89.17 MB / 0.7294 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002509/0.1923, allocations: 1.02 MB / 0.7304 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1952, allocations: 1.613 MB / 0.732 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1954, allocations: 3.938 kB / 0.732 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1956, allocations: 23.73 kB / 0.732 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1957, allocations: 39.66 kB / 0.732 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.1964, allocations: 223.1 kB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.1968, allocations: 327.3 kB / 0.7325 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.197, allocations: 55.02 kB / 0.7326 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1972, allocations: 131.6 kB / 0.7327 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1974, allocations: 107.6 kB / 0.7328 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.1974, allocations: 32 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.1975, allocations: 43.98 kB / 0.7329 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.1976, allocations: 59.77 kB / 0.7329 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1977, allocations: 107.6 kB / 0.7331 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1982, allocations: 370.6 kB / 0.7334 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1982, allocations: 0 / 0.7334 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1982, allocations: 0 / 0.7334 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1982, allocations: 0 / 0.7334 GB, free: 12.47 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009282/0.1991, allocations: 487.7 kB / 0.7339 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1991, allocations: 8.031 kB / 0.7339 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.1992, allocations: 20.84 kB / 0.7339 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.1996, allocations: 214.1 kB / 0.7341 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1997, allocations: 20.64 kB / 0.7341 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.1997, allocations: 20.38 kB / 0.7341 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2001, allocations: 184.1 kB / 0.7343 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2001, allocations: 4 kB / 0.7343 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2001, allocations: 11.92 kB / 0.7343 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2001, allocations: 4 kB / 0.7343 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2004, allocations: 132.7 kB / 0.7345 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.2013, allocations: 0.5 MB / 0.735 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.2018, allocations: 178.8 kB / 0.7351 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.202, allocations: 64.83 kB / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.202, allocations: 7.906 kB / 0.7352 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.2024, allocations: 199.2 kB / 0.7354 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 3.837e-06/0.2024, allocations: 3.984 kB / 0.7354 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.0007693/0.2032, allocations: 340.6 kB / 0.7357 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2032, allocations: 59.34 kB / 0.7358 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2034, allocations: 184 kB / 0.7359 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.2035, allocations: 41.7 kB / 0.736 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2036, allocations: 120.7 kB / 0.7361 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.2036, allocations: 71.47 kB / 0.7362 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2037, allocations: 73.55 kB / 0.7362 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2039, allocations: 338.8 kB / 0.7366 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2041, allocations: 121.7 kB / 0.7367 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2044, allocations: 204.2 kB / 0.7369 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.2047, allocations: 209 kB / 0.7371 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2047, allocations: 0 / 0.7371 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006067/0.2053, allocations: 384.8 kB / 0.7374 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.2054, allocations: 37.69 kB / 0.7375 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2054, allocations: 0 / 0.7375 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2054, allocations: 4 kB / 0.7375 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2055, allocations: 27.92 kB / 0.7375 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2055, allocations: 4 kB / 0.7375 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2058, allocations: 55.91 kB / 0.7376 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.2058, allocations: 12 kB / 0.7376 GB, free: 7.957 MB / 0.5606 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.0001611/0.206, allocations: 149.8 kB / 0.7377 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.206, allocations: 23.83 kB / 0.7377 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.2066, allocations: 278.1 kB / 0.738 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2066, allocations: 4 kB / 0.738 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2066, allocations: 0 / 0.738 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2066, allocations: 0 / 0.738 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/0.2076, allocations: 0.5763 MB / 0.7386 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2076, allocations: 0 / 0.7386 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.2076, allocations: 19.86 kB / 0.7386 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2076, allocations: 4.047 kB / 0.7386 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.2077, allocations: 15.97 kB / 0.7386 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2077, allocations: 0 / 0.7386 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2077, allocations: 4 kB / 0.7386 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.2082, allocations: 364.9 kB / 0.739 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2083, allocations: 19.84 kB / 0.739 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.2083, allocations: 12 kB / 0.739 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2085, allocations: 19.97 kB / 0.739 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.2085, allocations: 23.95 kB / 0.739 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.2086, allocations: 15.98 kB / 0.739 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001216/0.2087, allocations: 129 kB / 0.7392 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2087, allocations: 4 kB / 0.7392 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003212/0.209, allocations: 55.95 kB / 0.7392 GB, free: 6.195 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: 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.0001876/0.2092, allocations: 126.5 kB / 0.7393 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.2098, allocations: 320.8 kB / 0.7397 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2098, allocations: 0 / 0.7397 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.21, allocations: 104.5 kB / 0.7398 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.2104, allocations: 40.09 kB / 0.7398 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007592/0.2111, allocations: 394.5 kB / 0.7402 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2113, allocations: 129.2 kB / 0.7403 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.2113, allocations: 27.42 kB / 0.7403 GB, free: 5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2113, allocations: 0 / 0.7403 GB, free: 5 MB / 0.5606 GB Notification: Performance of Templates: time 0.005563/0.2169, allocations: 3.13 MB / 0.7434 GB, free: 1.891 MB / 0.5606 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: 8.179258328396827] Failed to read output from testmodel.py, exit status != 0: 0.22537399223074317 0.239802057 0.038562484 Calling exit ...