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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 111 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 193.2 kB / 20.03 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.084/1.084, allocations: 147.6 MB / 445.6 MB, free: 8.422 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.2594/0.2594, allocations: 56.19 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.4139, allocations: 83.15 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002102/0.4161, allocations: 0.718 MB / 0.6928 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.418, allocations: 1.172 MB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.4181, allocations: 3.938 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.4181, allocations: 3.984 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.4182, allocations: 13.27 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.4188, allocations: 139.4 kB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4191, allocations: 123 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4192, allocations: 22.23 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.4193, allocations: 46.44 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4195, allocations: 49.47 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.4195, allocations: 10.5 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.4196, allocations: 23.3 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.4196, allocations: 10.73 kB / 0.6944 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.4197, allocations: 48.2 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.4199, allocations: 108.6 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.42, allocations: 0 / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.522e-06/0.42, allocations: 0 / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.42, allocations: 0 / 0.6945 GB, free: 11.58 MB / 0.5137 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.0007626/0.4207, allocations: 404.6 kB / 0.6949 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4208, allocations: 9.625 kB / 0.6949 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.4208, allocations: 36.12 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.4209, allocations: 10.39 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4211, allocations: 179 kB / 0.6951 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4211, allocations: 3.125 kB / 0.6951 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4211, allocations: 7.25 kB / 0.6951 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.4213, allocations: 68.08 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4213, allocations: 7.938 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.4214, allocations: 1.375 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4214, allocations: 1.375 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.4216, allocations: 41.95 kB / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.4221, allocations: 321.6 kB / 0.6955 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.4223, allocations: 54.2 kB / 0.6956 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4224, allocations: 30.42 kB / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.4224, allocations: 1.156 kB / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.4227, allocations: 99.31 kB / 0.6957 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4227, allocations: 0 / 0.6957 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004683/0.4232, allocations: 136.7 kB / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4232, allocations: 52.78 kB / 0.6959 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4233, allocations: 117 kB / 0.696 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4234, allocations: 28.2 kB / 0.696 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.4234, allocations: 92.06 kB / 0.6961 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4235, allocations: 19.28 kB / 0.6962 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.4236, allocations: 36.11 kB / 0.6962 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4237, allocations: 323.9 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4239, allocations: 53.59 kB / 0.6965 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4241, allocations: 76.86 kB / 0.6966 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.4244, allocations: 128.2 kB / 0.6967 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4244, allocations: 1.25 kB / 0.6967 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004429/0.4249, allocations: 197.7 kB / 0.6969 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.4249, allocations: 38.16 kB / 0.697 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4249, allocations: 1.531 kB / 0.697 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.425, allocations: 5.625 kB / 0.697 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.4251, allocations: 11.73 kB / 0.697 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4251, allocations: 5.438 kB / 0.697 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.4253, allocations: 39.38 kB / 0.697 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4253, allocations: 6.031 kB / 0.697 GB, free: 9.207 MB / 0.5137 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.0001139/0.4254, allocations: 121.8 kB / 0.6972 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.4255, allocations: 10.39 kB / 0.6972 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.4258, allocations: 115.8 kB / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4258, allocations: 0 / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4258, allocations: 5.125 kB / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4258, allocations: 0 / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.4263, allocations: 358.3 kB / 0.6976 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4263, allocations: 4 kB / 0.6976 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.4264, allocations: 11.27 kB / 0.6976 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4264, allocations: 1.438 kB / 0.6976 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4264, allocations: 0 / 0.6976 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4264, allocations: 5.25 kB / 0.6976 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4264, allocations: 3.938 kB / 0.6976 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.4267, allocations: 215.5 kB / 0.6978 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.4268, allocations: 86.38 kB / 0.6979 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.4268, allocations: 9.359 kB / 0.6979 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.4269, allocations: 4.125 kB / 0.6979 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.4269, allocations: 10.67 kB / 0.698 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4269, allocations: 1.375 kB / 0.698 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.427, allocations: 91.52 kB / 0.698 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.206e-06/0.427, allocations: 0 / 0.698 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002531/0.4273, allocations: 27.19 kB / 0.6981 GB, free: 8.238 MB / 0.5137 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.0006409/0.4279, allocations: 0.7422 MB / 0.6988 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.4283, allocations: 172 kB / 0.699 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4283, allocations: 4.062 kB / 0.699 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4284, allocations: 33.97 kB / 0.699 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4287, allocations: 17.42 kB / 0.699 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4308, allocations: 1.635 MB / 0.7006 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.4311, allocations: 0.6885 MB / 0.7013 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.4312, allocations: 8 kB / 0.7013 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.4312, allocations: 20 kB / 0.7013 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.4312, allocations: 0 / 0.7013 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.4547, allocations: 2.439 MB / 0.7037 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.567, allocations: 9.781 kB / 0.7037 GB, free: 2.695 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 12.17479145899415] Failed to read output from testmodel.py, exit status != 0: 8.636955856112763 8.665479977 8.240242685 Calling exit ...