Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001789/0.001789, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002076/0.002076, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9697/0.9697, allocations: 150 MB / 463.9 MB, free: 10.21 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.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.002025/0.002025, allocations: 62.31 kB / 0.6419 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 89.18 MB / 0.729 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.0022/0.1848, allocations: 0.6904 MB / 0.7297 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1866, allocations: 1.209 MB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.1866, allocations: 0 / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.1866, allocations: 7.938 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.1867, allocations: 15.86 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.1873, allocations: 139.4 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1875, allocations: 115.8 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1876, allocations: 11.98 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1877, allocations: 51.86 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1878, allocations: 47.86 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1879, allocations: 11.94 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.188, allocations: 31.98 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.188, allocations: 8 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.1881, allocations: 43.89 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1883, allocations: 111.9 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1883, allocations: 3.938 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1883, allocations: 0 / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1883, allocations: 0 / 0.7315 GB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005921/0.1889, allocations: 331.8 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1889, allocations: 8.031 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.22e-05/0.1889, allocations: 8.188 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.189, allocations: 34.75 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.189, allocations: 12.88 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1892, allocations: 114.5 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1892, allocations: 8.375 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1892, allocations: 12.38 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1894, allocations: 65.97 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1894, allocations: 4 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1894, allocations: 0 / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1894, allocations: 0 / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1896, allocations: 43.95 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.1901, allocations: 283.7 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1903, allocations: 50.55 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1904, allocations: 28.92 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1904, allocations: 0 / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1906, allocations: 87.3 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1906, allocations: 4 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.1911, allocations: 137.9 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1912, allocations: 55.41 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.1913, allocations: 113.8 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1913, allocations: 25.7 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.1914, allocations: 96.12 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1914, allocations: 19.86 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.1915, allocations: 34.08 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1916, allocations: 326.8 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.1918, allocations: 81.66 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.192, allocations: 114.9 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.1923, allocations: 129 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1923, allocations: 0 / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004765/0.1928, allocations: 232.9 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.1928, allocations: 33.69 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1928, allocations: 4.078 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1928, allocations: 0 / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1929, allocations: 11.98 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1929, allocations: 3.984 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1931, allocations: 47.89 kB / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1932, allocations: 8 kB / 0.7339 GB, free: 11.52 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: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001132/0.1933, allocations: 121.8 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.1933, allocations: 3.953 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1936, allocations: 122 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1936, allocations: 96 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1936, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1936, allocations: 3.984 kB / 0.7342 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1941, allocations: 337.5 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1941, allocations: 4 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.1941, allocations: 11.98 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1941, allocations: 0 / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1941, allocations: 0 / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1941, allocations: 4 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1941, allocations: 3.938 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1945, allocations: 207.4 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.1945, allocations: 0 / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1945, allocations: 8 kB / 0.7347 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.1946, allocations: 7.984 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1946, allocations: 7.922 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1947, allocations: 4 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.474e-05/0.1947, allocations: 91.27 kB / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1947, allocations: 0 / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00027/0.195, allocations: 24.38 kB / 0.7348 GB, free: 10.5 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006603/0.1956, allocations: 0.7513 MB / 0.7356 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.196, allocations: 189 kB / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.196, allocations: 0 / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1962, allocations: 27.98 kB / 0.7358 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1964, allocations: 24.48 kB / 0.7358 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1987, allocations: 1.752 MB / 0.7375 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.1988, allocations: 71.25 kB / 0.7376 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.1988, allocations: 11.98 kB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.1989, allocations: 19.44 kB / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1989, allocations: 0 / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.2223, allocations: 2.732 MB / 0.7403 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.62, allocations: 4 kB / 0.7403 GB, free: 4.906 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.564862879924476] Failed to read output from testmodel.py, exit status != 0: 11.786231022910215 11.803107466 11.611491659 Calling exit ...