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.001624/0.001624, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.00198/0.00198, allocations: 212.5 kB / 23.04 MB, free: 4.887 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.982/0.982, allocations: 150 MB / 463.2 MB, free: 10.25 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.002118/0.002118, allocations: 66.39 kB / 0.6413 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2035, allocations: 89.17 MB / 0.7284 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002374/0.2058, allocations: 1.003 MB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2082, allocations: 1.619 MB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2083, allocations: 11.88 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2084, allocations: 15.75 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2086, allocations: 43.7 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.2092, allocations: 222.4 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.2095, allocations: 319.4 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2097, allocations: 54.95 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2099, allocations: 135.6 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.21, allocations: 111.5 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.2101, allocations: 32 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2102, allocations: 43.98 kB / 0.7319 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.2102, allocations: 51.89 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2104, allocations: 111.5 kB / 0.732 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.2108, allocations: 363 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2108, allocations: 0 / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.949e-06/0.2108, allocations: 4 kB / 0.7324 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2108, allocations: 0 / 0.7324 GB, free: 12.68 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.0009315/0.2117, allocations: 483.7 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2118, allocations: 12.03 kB / 0.7328 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.2118, allocations: 50.67 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.2119, allocations: 20.84 kB / 0.7329 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2123, allocations: 222.1 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2123, allocations: 12.66 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.2124, allocations: 28.36 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.2127, allocations: 183.9 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2128, allocations: 0 / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.2128, allocations: 7.984 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.2128, allocations: 4 kB / 0.7334 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.2131, allocations: 132.7 kB / 0.7335 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000994/0.2141, allocations: 0.5424 MB / 0.734 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.2146, allocations: 170.8 kB / 0.7342 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2148, allocations: 76.73 kB / 0.7342 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2148, allocations: 3.938 kB / 0.7342 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.2152, allocations: 199.1 kB / 0.7344 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.2152, allocations: 0 / 0.7344 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.0007674/0.216, allocations: 336.6 kB / 0.7348 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.216, allocations: 63.34 kB / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2162, allocations: 184 kB / 0.735 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.2163, allocations: 41.7 kB / 0.735 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.2163, allocations: 116.7 kB / 0.7351 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.2164, allocations: 71.45 kB / 0.7352 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2165, allocations: 81.55 kB / 0.7353 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2167, allocations: 330.8 kB / 0.7356 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.2169, allocations: 129.7 kB / 0.7357 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.2172, allocations: 200.2 kB / 0.7359 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.2175, allocations: 220.9 kB / 0.7361 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2175, allocations: 0 / 0.7361 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006206/0.2181, allocations: 372.9 kB / 0.7365 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.2182, allocations: 37.7 kB / 0.7365 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2182, allocations: 0 / 0.7365 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2182, allocations: 4 kB / 0.7365 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2183, allocations: 27.92 kB / 0.7366 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2183, allocations: 4.094 kB / 0.7366 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.2186, allocations: 47.84 kB / 0.7366 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.2186, allocations: 19.98 kB / 0.7366 GB, free: 8.059 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.0001803/0.2188, allocations: 157.7 kB / 0.7368 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2189, allocations: 15.91 kB / 0.7368 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.2195, allocations: 282.1 kB / 0.7371 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2195, allocations: 0 / 0.7371 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2195, allocations: 0 / 0.7371 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2195, allocations: 0 / 0.7371 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.2205, allocations: 0.607 MB / 0.7377 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2205, allocations: 0 / 0.7377 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.2206, allocations: 23.92 kB / 0.7377 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2206, allocations: 0 / 0.7377 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.2206, allocations: 8 kB / 0.7377 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2206, allocations: 7.984 kB / 0.7377 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2206, allocations: 0 / 0.7377 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.2211, allocations: 361.4 kB / 0.738 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.2212, allocations: 19.84 kB / 0.7381 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.2212, allocations: 12 kB / 0.7381 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2214, allocations: 19.92 kB / 0.7381 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.2215, allocations: 31.92 kB / 0.7381 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2215, allocations: 23.86 kB / 0.7381 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001251/0.2216, allocations: 137 kB / 0.7383 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2216, allocations: 4 kB / 0.7383 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003247/0.2219, allocations: 59.95 kB / 0.7383 GB, free: 6.234 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.0009832/0.2229, allocations: 0.9191 MB / 0.7392 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.2235, allocations: 318.9 kB / 0.7395 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2235, allocations: 128 / 0.7395 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.2237, allocations: 99.89 kB / 0.7396 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.2241, allocations: 50.25 kB / 0.7397 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.2273, allocations: 2.502 MB / 0.7421 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2274, allocations: 129.3 kB / 0.7422 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.2275, allocations: 25.89 kB / 0.7423 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2276, allocations: 67.41 kB / 0.7423 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2276, allocations: 0 / 0.7423 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.2617, allocations: 5.984 MB / 0.7482 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.4, allocations: 3.656 kB / 0.7482 GB, free: 12.17 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.645693349186331] Failed to read output from testmodel.py, exit status != 0: 11.505198772996664 11.838754876 11.307380372 Calling exit ...