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.001419/0.001419, allocations: 119 kB / 19.69 MB, free: 2.199 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.001661/0.001661, allocations: 223.5 kB / 23.01 MB, free: 5.047 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9997/0.9997, allocations: 150 MB / 463.2 MB, free: 10.45 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.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.002144/0.002144, allocations: 67.27 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1992, allocations: 89.17 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.00287/0.2021, allocations: 1.063 MB / 0.7294 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.2047, allocations: 1.669 MB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2049, allocations: 7.875 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.205, allocations: 23.73 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.2052, allocations: 39.66 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.2059, allocations: 225.2 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.2063, allocations: 327.3 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2065, allocations: 64.89 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2067, allocations: 123.7 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2069, allocations: 127.5 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.207, allocations: 32 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2071, allocations: 47.98 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.2071, allocations: 55.77 kB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2073, allocations: 127.5 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.2077, allocations: 362.9 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2078, allocations: 0 / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2078, allocations: 0 / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2078, allocations: 0 / 0.7325 GB, free: 12.93 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.0009677/0.2087, allocations: 487.7 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2088, allocations: 12.03 kB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.2088, allocations: 46.73 kB / 0.733 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2089, allocations: 24.83 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2093, allocations: 218.1 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2094, allocations: 12.66 kB / 0.7333 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.2094, allocations: 28.38 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.2098, allocations: 179.9 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2098, allocations: 0 / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2098, allocations: 12 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2099, allocations: 4 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.2102, allocations: 132.7 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2112, allocations: 0.6126 MB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.2117, allocations: 174.8 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.2119, allocations: 76.67 kB / 0.7345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2119, allocations: 8 kB / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.2123, allocations: 201.1 kB / 0.7347 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 3.818e-06/0.2123, allocations: 3.984 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.0007733/0.2131, allocations: 332.6 kB / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2131, allocations: 59.34 kB / 0.735 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2133, allocations: 184 kB / 0.7352 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.2134, allocations: 37.7 kB / 0.7353 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2135, allocations: 124.7 kB / 0.7354 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.2136, allocations: 71.39 kB / 0.7354 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.2137, allocations: 77.55 kB / 0.7355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2139, allocations: 330.8 kB / 0.7358 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2141, allocations: 99.95 kB / 0.7359 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2143, allocations: 140.8 kB / 0.7361 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.2146, allocations: 208.9 kB / 0.7363 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2146, allocations: 0 / 0.7363 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005967/0.2152, allocations: 343.2 kB / 0.7366 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.2153, allocations: 37.7 kB / 0.7366 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2153, allocations: 7.984 kB / 0.7366 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2153, allocations: 0 / 0.7366 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2154, allocations: 27.92 kB / 0.7367 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2154, allocations: 0 / 0.7367 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.2157, allocations: 47.86 kB / 0.7367 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.2157, allocations: 15.98 kB / 0.7367 GB, free: 8.395 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.0001678/0.2159, allocations: 162 kB / 0.7369 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.2159, allocations: 19.89 kB / 0.7369 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.2165, allocations: 263.5 kB / 0.7371 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2165, allocations: 4 kB / 0.7371 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2165, allocations: 0 / 0.7371 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2165, allocations: 4 kB / 0.7371 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2175, allocations: 0.639 MB / 0.7378 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2176, allocations: 4 kB / 0.7378 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.2176, allocations: 11.94 kB / 0.7378 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2176, allocations: 8.031 kB / 0.7378 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.2177, allocations: 7.984 kB / 0.7378 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2177, allocations: 4 kB / 0.7378 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2177, allocations: 0 / 0.7378 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.2183, allocations: 365.8 kB / 0.7382 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.2183, allocations: 15.84 kB / 0.7382 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.2184, allocations: 15.98 kB / 0.7382 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2185, allocations: 15.98 kB / 0.7382 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.2186, allocations: 31.83 kB / 0.7382 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.2186, allocations: 19.98 kB / 0.7382 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001248/0.2187, allocations: 129 kB / 0.7384 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2187, allocations: 0 / 0.7384 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003422/0.2191, allocations: 67.88 kB / 0.7384 GB, free: 6.551 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.0009886/0.2201, allocations: 0.9156 MB / 0.7393 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2206, allocations: 284.9 kB / 0.7396 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.2206, allocations: 0 / 0.7396 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2209, allocations: 95.84 kB / 0.7397 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2213, allocations: 50.2 kB / 0.7397 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.2248, allocations: 2.383 MB / 0.7421 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.2252, allocations: 0.7323 MB / 0.7428 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.2253, allocations: 21.95 kB / 0.7428 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2255, allocations: 71.41 kB / 0.7429 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.2255, allocations: 0 / 0.7429 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.262, allocations: 5.374 MB / 0.7481 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.39, allocations: 6.062 kB / 0.7481 GB, free: 12.63 MB / 0.5762 GB " [Timeout remaining time 648] (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.64470143802464] Failed to read output from testmodel.py, exit status != 0: 11.527597171952948 11.856839226 11.344029368 Calling exit ...