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.001417/0.001417, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001652/0.001652, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.12/1.12, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.002147/0.002147, allocations: 67.64 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1977, allocations: 89.18 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002283/0.2, allocations: 0.9924 MB / 0.7291 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2024, allocations: 1.615 MB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2025, allocations: 7.938 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2026, allocations: 19.75 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2027, allocations: 43.64 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.2033, allocations: 214.7 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.2037, allocations: 335.3 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.2039, allocations: 55.02 kB / 0.7314 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.204, allocations: 131.6 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.2042, allocations: 103.6 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.2042, allocations: 32 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.2043, allocations: 43.98 kB / 0.7317 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.2044, allocations: 67.7 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2045, allocations: 99.62 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.205, allocations: 366.9 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.205, allocations: 0 / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.205, allocations: 4 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.205, allocations: 0 / 0.7322 GB, free: 12.91 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.0009062/0.2059, allocations: 491.7 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2059, allocations: 8.031 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.206, allocations: 50.73 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.2061, allocations: 20.84 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.2065, allocations: 218.1 kB / 0.7329 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2065, allocations: 20.64 kB / 0.7329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.2065, allocations: 20.38 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.2069, allocations: 175.9 kB / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2069, allocations: 4 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.207, allocations: 7.984 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.207, allocations: 4 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2073, allocations: 132.7 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2083, allocations: 0.5463 MB / 0.7338 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.2088, allocations: 170.8 kB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2089, allocations: 72.73 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.209, allocations: 4 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.2094, allocations: 211 kB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.003e-06/0.2094, allocations: 0 / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.0008017/0.2102, allocations: 328.7 kB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.2102, allocations: 59.34 kB / 0.7346 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2104, allocations: 184 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2105, allocations: 37.7 kB / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2106, allocations: 124.7 kB / 0.7349 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.2107, allocations: 67.45 kB / 0.735 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2108, allocations: 85.55 kB / 0.7351 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.211, allocations: 330.8 kB / 0.7354 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2112, allocations: 129.7 kB / 0.7355 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.2115, allocations: 200.2 kB / 0.7357 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.2118, allocations: 213 kB / 0.7359 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2118, allocations: 0 / 0.7359 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006093/0.2124, allocations: 368.9 kB / 0.7363 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2125, allocations: 41.64 kB / 0.7363 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2125, allocations: 4.094 kB / 0.7363 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2125, allocations: 7.984 kB / 0.7363 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2126, allocations: 23.94 kB / 0.7364 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2126, allocations: 11.92 kB / 0.7364 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.2129, allocations: 43.86 kB / 0.7364 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.2129, allocations: 19.98 kB / 0.7364 GB, free: 8.285 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.0001882/0.2131, allocations: 161.8 kB / 0.7366 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.2132, allocations: 15.91 kB / 0.7366 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.2138, allocations: 272.3 kB / 0.7369 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2138, allocations: 4 kB / 0.7369 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2138, allocations: 3.938 kB / 0.7369 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2138, allocations: 0 / 0.7369 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.2147, allocations: 0.6134 MB / 0.7375 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2147, allocations: 4 kB / 0.7375 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.2148, allocations: 15.98 kB / 0.7375 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2148, allocations: 0 / 0.7375 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.2148, allocations: 15.98 kB / 0.7375 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2149, allocations: 0 / 0.7375 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2149, allocations: 3.984 kB / 0.7375 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.2154, allocations: 364 kB / 0.7378 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.2154, allocations: 23.84 kB / 0.7379 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.2155, allocations: 8 kB / 0.7379 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2156, allocations: 19.98 kB / 0.7379 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.2157, allocations: 31.88 kB / 0.7379 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2158, allocations: 12 kB / 0.7379 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2159, allocations: 137 kB / 0.7381 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2159, allocations: 0 / 0.7381 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003206/0.2162, allocations: 55.95 kB / 0.7381 GB, free: 6.469 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.000992/0.2172, allocations: 0.9195 MB / 0.739 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.2178, allocations: 318.9 kB / 0.7393 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2178, allocations: 7.938 kB / 0.7393 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.218, allocations: 95.89 kB / 0.7394 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2184, allocations: 55.36 kB / 0.7395 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.2216, allocations: 2.513 MB / 0.7419 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2217, allocations: 125.3 kB / 0.742 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.2218, allocations: 21.95 kB / 0.7421 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.222, allocations: 67.41 kB / 0.7421 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.222, allocations: 3.938 kB / 0.7421 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.2607, allocations: 5.963 MB / 0.748 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.37, allocations: 6.453 kB / 0.748 GB, free: 12.4 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.802543627098203] Failed to read output from testmodel.py, exit status != 0: 11.481031592004001 11.833775679 11.300754506 Calling exit ...