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.001838/0.001838, allocations: 122 kB / 17.84 MB, free: 5.254 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.002204/0.002204, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.69/1.69, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.002/1.002, allocations: 150 MB / 460.2 MB, free: 5.672 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="cs",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.001974/0.001974, allocations: 69.8 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002766/0.1757, allocations: 1.08 MB / 0.7249 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1784, allocations: 1.658 MB / 0.7265 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1786, allocations: 11.94 kB / 0.7265 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1787, allocations: 19.73 kB / 0.7266 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1789, allocations: 43.66 kB / 0.7266 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.1796, allocations: 213 kB / 0.7268 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.1801, allocations: 335.3 kB / 0.7271 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1803, allocations: 58.64 kB / 0.7272 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.1806, allocations: 127.6 kB / 0.7273 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1809, allocations: 119.6 kB / 0.7274 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.1809, allocations: 32 kB / 0.7274 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1811, allocations: 51.92 kB / 0.7275 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.1811, allocations: 59.81 kB / 0.7275 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1813, allocations: 123.5 kB / 0.7277 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.1819, allocations: 362.9 kB / 0.728 GB, free: 15.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1819, allocations: 0 / 0.728 GB, free: 15.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1819, allocations: 0 / 0.728 GB, free: 15.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.1819, allocations: 0 / 0.728 GB, free: 15.78 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.001267/0.1832, allocations: 0.5516 MB / 0.7285 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1832, allocations: 12.03 kB / 0.7286 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.413e-05/0.1832, allocations: 4.469 kB / 0.7286 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.1833, allocations: 46.73 kB / 0.7286 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.1834, allocations: 24.83 kB / 0.7286 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.1838, allocations: 276.5 kB / 0.7289 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1839, allocations: 16.66 kB / 0.7289 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.1839, allocations: 24.36 kB / 0.7289 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.1843, allocations: 187.8 kB / 0.7291 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1843, allocations: 0 / 0.7291 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1844, allocations: 11.97 kB / 0.7291 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1844, allocations: 4 kB / 0.7291 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1847, allocations: 132.7 kB / 0.7293 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1858, allocations: 0.6406 MB / 0.7299 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.1864, allocations: 170.8 kB / 0.73 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1866, allocations: 76.83 kB / 0.7301 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1866, allocations: 11.86 kB / 0.7301 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.187, allocations: 200 kB / 0.7303 GB, free: 13.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.187, allocations: 0 / 0.7303 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0008392/0.1879, allocations: 329.3 kB / 0.7306 GB, free: 12.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1879, allocations: 59.41 kB / 0.7307 GB, free: 12.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1881, allocations: 182.3 kB / 0.7309 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.1882, allocations: 41.7 kB / 0.7309 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1883, allocations: 124.7 kB / 0.731 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.1884, allocations: 71.47 kB / 0.7311 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1885, allocations: 73.53 kB / 0.7312 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1887, allocations: 326.8 kB / 0.7315 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1889, allocations: 103.9 kB / 0.7316 GB, free: 11.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1891, allocations: 148.6 kB / 0.7317 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1894, allocations: 208.9 kB / 0.7319 GB, free: 11.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1894, allocations: 0 / 0.7319 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000608/0.19, allocations: 335.3 kB / 0.7322 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.1901, allocations: 45.78 kB / 0.7323 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1901, allocations: 0 / 0.7323 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1901, allocations: 4 kB / 0.7323 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1903, allocations: 27.92 kB / 0.7323 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1903, allocations: 4 kB / 0.7323 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.1906, allocations: 47.84 kB / 0.7324 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.1907, allocations: 12 kB / 0.7324 GB, free: 11.02 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.0001901/0.1909, allocations: 165.7 kB / 0.7325 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1909, allocations: 15.91 kB / 0.7325 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.1915, allocations: 275.3 kB / 0.7328 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1915, allocations: 0 / 0.7328 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1915, allocations: 0 / 0.7328 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1915, allocations: 3.984 kB / 0.7328 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1926, allocations: 0.6597 MB / 0.7334 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1926, allocations: 0 / 0.7334 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.1927, allocations: 19.98 kB / 0.7335 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1927, allocations: 0 / 0.7335 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.1927, allocations: 7.984 kB / 0.7335 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1927, allocations: 0 / 0.7335 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1927, allocations: 11.88 kB / 0.7335 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.1933, allocations: 368.2 kB / 0.7338 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1934, allocations: 96.95 kB / 0.7339 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.1935, allocations: 12 kB / 0.7339 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1936, allocations: 19.97 kB / 0.734 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.1937, allocations: 23.91 kB / 0.734 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.1937, allocations: 15.98 kB / 0.734 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001251/0.1939, allocations: 132.2 kB / 0.7341 GB, free: 9.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 4 kB / 0.7341 GB, free: 9.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003792/0.1942, allocations: 55.95 kB / 0.7342 GB, free: 9.055 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.001139/0.1954, allocations: 0.9169 MB / 0.7351 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.196, allocations: 287.5 kB / 0.7354 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.196, allocations: 0 / 0.7354 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1963, allocations: 103.8 kB / 0.7355 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1967, allocations: 53.33 kB / 0.7355 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.2004, allocations: 2.383 MB / 0.7378 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.2009, allocations: 0.7363 MB / 0.7385 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.201, allocations: 17.95 kB / 0.7386 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.2012, allocations: 63.41 kB / 0.7386 GB, free: 4.336 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.2012, allocations: 4 kB / 0.7386 GB, free: 4.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2309, allocations: 5.165 MB / 0.7437 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/8.778, allocations: 28.66 kB / 0.7437 GB, free: 15.32 MB / 0.5606 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.974582304013893] Failed to read output from testmodel.py, exit status != 0: 8.917178601026535 8.941451243 8.755133712 Calling exit ...