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.001352/0.001352, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001476/0.001476, allocations: 216.5 kB / 22.99 MB, free: 4.973 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9858/0.9858, allocations: 149.9 MB / 463 MB, free: 10.38 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.002332/0.002332, allocations: 67.23 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1862, allocations: 89.16 MB / 0.7281 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002445/0.1886, allocations: 0.7035 MB / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1909, allocations: 1.209 MB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.191, allocations: 3.938 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.191, allocations: 3.938 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1911, allocations: 19.86 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1918, allocations: 138.8 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1921, allocations: 119.8 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1922, allocations: 11.98 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1924, allocations: 51.83 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1925, allocations: 35.89 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1925, allocations: 12 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.1926, allocations: 27.92 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1927, allocations: 15.92 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.1927, allocations: 35.91 kB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.193, allocations: 119.9 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.193, allocations: 0 / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.193, allocations: 0 / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.193, allocations: 0 / 0.7306 GB, free: 14.57 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.0006761/0.1937, allocations: 331.8 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1937, allocations: 12.03 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.1938, allocations: 38.73 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1939, allocations: 8.891 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.194, allocations: 118.4 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.194, allocations: 4.375 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.194, allocations: 16.38 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1943, allocations: 58.22 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1943, allocations: 7.938 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1943, allocations: 4 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1943, allocations: 0 / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1945, allocations: 39.95 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.195, allocations: 275.8 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1952, allocations: 54.55 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.1953, allocations: 28.92 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1953, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.1956, allocations: 87.42 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1956, allocations: 3.938 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004684/0.196, allocations: 145.5 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1961, allocations: 55.41 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1962, allocations: 117.8 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1962, allocations: 26.08 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1963, allocations: 92.14 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1963, allocations: 19.86 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.1964, allocations: 37.69 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1965, allocations: 322.7 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1967, allocations: 81.66 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1969, allocations: 113 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1972, allocations: 129.1 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1972, allocations: 0 / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004646/0.1976, allocations: 236.8 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.1977, allocations: 35.73 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1977, allocations: 4.062 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1977, allocations: 4 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1978, allocations: 11.98 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1978, allocations: 0 / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.198, allocations: 39.89 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1981, allocations: 8 kB / 0.733 GB, free: 11.79 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.0001131/0.1982, allocations: 121.7 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.1982, allocations: 15.94 kB / 0.7332 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1985, allocations: 114 kB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1985, allocations: 0 / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1985, allocations: 0 / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1985, allocations: 0 / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.199, allocations: 329.9 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.199, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.199, allocations: 15.98 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1991, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1991, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1991, allocations: 7.938 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1991, allocations: 3.938 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.1994, allocations: 207.5 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-06/0.1994, allocations: 0 / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1994, allocations: 8 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.1995, allocations: 7.984 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1996, allocations: 11.92 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1996, allocations: 8 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.1996, allocations: 95.3 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1996, allocations: 0 / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002754/0.1999, allocations: 27.94 kB / 0.734 GB, free: 10.76 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.0006846/0.2006, allocations: 0.7358 MB / 0.7347 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.201, allocations: 189 kB / 0.7349 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.201, allocations: 0 / 0.7349 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2011, allocations: 35.91 kB / 0.7349 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2014, allocations: 11.94 kB / 0.7349 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.2037, allocations: 1.76 MB / 0.7366 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.2037, allocations: 71.25 kB / 0.7367 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.2038, allocations: 11.92 kB / 0.7367 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.2038, allocations: 19.44 kB / 0.7367 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2038, allocations: 0 / 0.7367 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.235, allocations: 3.098 MB / 0.7397 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.28, allocations: 8.5 kB / 0.7398 GB, free: 4.789 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: 15.078287030104548] Failed to read output from testmodel.py, exit status != 0: 11.398801836185157 11.424567075 11.226711158 Calling exit ...