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.00172/0.00172, 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.002178/0.002178, 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.521/1.521, 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 0.989/0.989, allocations: 150 MB / 460.2 MB, free: 5.285 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.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.002009/0.002009, allocations: 79.61 kB / 0.6368 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 89.13 MB / 0.7238 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002104/0.1789, allocations: 0.7048 MB / 0.7245 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1806, allocations: 1.235 MB / 0.7257 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1806, allocations: 4 kB / 0.7257 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.1807, allocations: 3.938 kB / 0.7257 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.1807, allocations: 11.86 kB / 0.7257 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1813, allocations: 142.7 kB / 0.7259 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1815, allocations: 111.8 kB / 0.726 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.1816, allocations: 15.97 kB / 0.726 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.1816, allocations: 43.86 kB / 0.726 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1817, allocations: 63.73 kB / 0.7261 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1818, allocations: 12 kB / 0.7261 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.1818, allocations: 27.98 kB / 0.7261 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.1819, allocations: 11.98 kB / 0.7262 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.1819, allocations: 39.84 kB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1821, allocations: 111.9 kB / 0.7263 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.1821, allocations: 4 kB / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1821, allocations: 0 / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1821, allocations: 0 / 0.7263 GB, free: 1.488 MB / 0.5294 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.0006671/0.1828, allocations: 412.9 kB / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1829, allocations: 12.03 kB / 0.7267 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.1829, allocations: 192 / 0.7267 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1829, allocations: 38.73 kB / 0.7267 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.183, allocations: 16.88 kB / 0.7268 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1831, allocations: 172.3 kB / 0.7269 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1832, allocations: 4.375 kB / 0.7269 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1832, allocations: 4.375 kB / 0.7269 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.1834, allocations: 69.97 kB / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.1834, allocations: 4 kB / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1835, allocations: 0 / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1835, allocations: 0 / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1837, allocations: 43.95 kB / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1842, allocations: 328.6 kB / 0.7274 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1844, allocations: 54.55 kB / 0.7274 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1845, allocations: 28.92 kB / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1845, allocations: 0 / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.1848, allocations: 91.28 kB / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1848, allocations: 0 / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000504/0.1853, allocations: 141.6 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1853, allocations: 51.41 kB / 0.7277 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1854, allocations: 113.8 kB / 0.7278 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1854, allocations: 37.64 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.1855, allocations: 96.08 kB / 0.728 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1855, allocations: 7.906 kB / 0.728 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.1856, allocations: 37.7 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1858, allocations: 326.8 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1859, allocations: 47.97 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1861, allocations: 75.33 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1864, allocations: 137 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1864, allocations: 0 / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004749/0.1869, allocations: 195.2 kB / 0.7287 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.1869, allocations: 37.7 kB / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.187, allocations: 4 kB / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.187, allocations: 4.062 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1871, allocations: 11.98 kB / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1871, allocations: 4 kB / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1873, allocations: 35.89 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1873, allocations: 15.94 kB / 0.7288 GB, free: 14.6 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: 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.0001166/0.1874, allocations: 124.3 kB / 0.729 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.1875, allocations: 7.953 kB / 0.729 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.1878, allocations: 114 kB / 0.7291 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1878, allocations: 4 kB / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1878, allocations: 0 / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1878, allocations: 0 / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1883, allocations: 362.4 kB / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1883, allocations: 0 / 0.7294 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1883, allocations: 16.08 kB / 0.7294 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1884, allocations: 7.984 kB / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1884, allocations: 0 / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1884, allocations: 0 / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1884, allocations: 3.938 kB / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1887, allocations: 207.4 kB / 0.7297 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1888, allocations: 85.09 kB / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1888, allocations: 4 kB / 0.7297 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.1889, allocations: 7.938 kB / 0.7298 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.1889, allocations: 11.92 kB / 0.7298 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1889, allocations: 4.469 kB / 0.7298 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.189, allocations: 95.2 kB / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.189, allocations: 0 / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002764/0.1893, allocations: 23.94 kB / 0.7299 GB, free: 13.43 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: 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.0007541/0.19, allocations: 0.7397 MB / 0.7306 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.1904, allocations: 155.3 kB / 0.7307 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/0.1905, allocations: 8.125 kB / 0.7308 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1906, allocations: 27.97 kB / 0.7308 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1909, allocations: 26.45 kB / 0.7308 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.1932, allocations: 1.639 MB / 0.7324 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1935, allocations: 0.6885 MB / 0.7331 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.1936, allocations: 4 kB / 0.7331 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.1936, allocations: 23.44 kB / 0.7331 GB, free: 9.961 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.1936, allocations: 0 / 0.7331 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2143, allocations: 2.483 MB / 0.7355 GB, free: 7.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.571, allocations: 16.17 kB / 0.7355 GB, free: 7.609 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.56380668701604] Failed to read output from testmodel.py, exit status != 0: 8.699660741025582 8.726594369 8.539513796 Calling exit ...