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.001841/0.001841, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001813/0.001813, allocations: 219 kB / 23 MB, free: 5.004 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9216/0.9216, allocations: 150 MB / 463.2 MB, free: 10.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.002276/0.002276, allocations: 74.28 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1814, allocations: 89.17 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002269/0.1837, allocations: 0.7212 MB / 0.729 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1856, allocations: 1.24 MB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.1857, allocations: 0 / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.1857, allocations: 3.938 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.1858, allocations: 11.92 kB / 0.7303 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.1864, allocations: 151 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1866, allocations: 115.8 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.1867, allocations: 8 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1868, allocations: 47.89 kB / 0.7306 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1869, allocations: 43.89 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.187, allocations: 15.94 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.1871, allocations: 31.91 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1871, allocations: 11.98 kB / 0.7307 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.1872, allocations: 39.86 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1874, allocations: 119.9 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1874, allocations: 0 / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1874, allocations: 4 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1874, allocations: 3.938 kB / 0.7308 GB, free: 14.79 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.0006495/0.188, allocations: 335.8 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1881, allocations: 12.03 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1881, allocations: 30.75 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.1882, allocations: 12.89 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1883, allocations: 114.5 kB / 0.7313 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1883, allocations: 4.375 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1884, allocations: 12.38 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1886, allocations: 62.22 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1886, allocations: 11.88 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1886, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1886, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1888, allocations: 43.95 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1893, allocations: 295.8 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1895, allocations: 50.53 kB / 0.7318 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.1896, allocations: 28.88 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1896, allocations: 4 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.1899, allocations: 95.41 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1899, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004381/0.1903, allocations: 133.6 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1904, allocations: 59.34 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1905, allocations: 109.8 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1905, allocations: 34.08 kB / 0.7322 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1906, allocations: 88.14 kB / 0.7323 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1906, allocations: 27.83 kB / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.1907, allocations: 37.7 kB / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1908, allocations: 322.7 kB / 0.7327 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.191, allocations: 51.95 kB / 0.7327 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1912, allocations: 75.39 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1915, allocations: 129 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1915, allocations: 3.938 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004405/0.1919, allocations: 203.3 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.192, allocations: 41.69 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.192, allocations: 0 / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.192, allocations: 4 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1921, allocations: 15.92 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1921, allocations: 0 / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1923, allocations: 31.91 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1923, allocations: 11.98 kB / 0.7332 GB, free: 12.1 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.0001037/0.1924, allocations: 121.8 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1924, allocations: 7.953 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.1927, allocations: 117.9 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1927, allocations: 0 / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1927, allocations: 0 / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1927, allocations: 4 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1932, allocations: 333.6 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1932, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1933, allocations: 7.938 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1933, allocations: 3.984 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1933, allocations: 8 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1933, allocations: 0 / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1933, allocations: 3.938 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1936, allocations: 203.5 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.1936, allocations: 0 / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1936, allocations: 4 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.1937, allocations: 7.984 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1938, allocations: 11.92 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1938, allocations: 4 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.1938, allocations: 95.3 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1938, allocations: 4 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002585/0.1941, allocations: 23.94 kB / 0.7341 GB, free: 11.07 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.0007282/0.1948, allocations: 0.7397 MB / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.1952, allocations: 159.9 kB / 0.735 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1952, allocations: 0 / 0.735 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1953, allocations: 31.97 kB / 0.735 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1956, allocations: 21.5 kB / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.1978, allocations: 1.642 MB / 0.7367 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1981, allocations: 0.6888 MB / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.1981, allocations: 7.984 kB / 0.7373 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1982, allocations: 11.44 kB / 0.7374 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.1982, allocations: 4 kB / 0.7374 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2291, allocations: 2.57 MB / 0.7399 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.79, allocations: 4.062 kB / 0.7399 GB, free: 5.168 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.400024925824255] Failed to read output from testmodel.py, exit status != 0: 10.88709218101576 10.90212866 10.711744277 Calling exit ...