Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001826/0.001826, allocations: 108.5 kB / 17.07 MB, free: 6.016 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.002168/0.002168, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.556/1.556, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.115/1.115, allocations: 147.7 MB / 445.6 MB, free: 8.27 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.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2939/0.2939, allocations: 56.12 kB / 0.6109 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.4672, allocations: 83.15 MB / 0.6921 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003033/0.4703, allocations: 0.7286 MB / 0.6928 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.4727, allocations: 1.143 MB / 0.6939 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.4728, allocations: 5.781 kB / 0.6939 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.4729, allocations: 3.938 kB / 0.6939 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.473, allocations: 13.69 kB / 0.694 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.4738, allocations: 132 kB / 0.6941 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.474, allocations: 120.9 kB / 0.6942 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4742, allocations: 19.23 kB / 0.6942 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4743, allocations: 47.47 kB / 0.6943 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4745, allocations: 52.38 kB / 0.6943 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.4745, allocations: 10.34 kB / 0.6943 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.4746, allocations: 24.83 kB / 0.6943 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.4746, allocations: 10.86 kB / 0.6944 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4748, allocations: 47.55 kB / 0.6944 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.475, allocations: 108.2 kB / 0.6945 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4751, allocations: 4 kB / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4751, allocations: 0 / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4751, allocations: 1.75 kB / 0.6945 GB, free: 11.68 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.0008433/0.4759, allocations: 413.9 kB / 0.6949 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.476, allocations: 9.219 kB / 0.6949 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.4761, allocations: 36.02 kB / 0.695 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.4761, allocations: 11.17 kB / 0.695 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.4763, allocations: 167 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4764, allocations: 7.969 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.4764, allocations: 11.19 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.4767, allocations: 67.64 kB / 0.6952 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4767, allocations: 7.875 kB / 0.6952 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4767, allocations: 3.219 kB / 0.6952 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4767, allocations: 0 / 0.6952 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.477, allocations: 38.14 kB / 0.6952 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.4777, allocations: 346.9 kB / 0.6956 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.4779, allocations: 59.3 kB / 0.6956 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.4781, allocations: 28.09 kB / 0.6957 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.4781, allocations: 1.375 kB / 0.6957 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.4784, allocations: 96.05 kB / 0.6958 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.4784, allocations: 0 / 0.6958 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006067/0.4791, allocations: 143.6 kB / 0.6959 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4791, allocations: 52.78 kB / 0.6959 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4793, allocations: 123.5 kB / 0.6961 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4793, allocations: 37.83 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.4794, allocations: 94.83 kB / 0.6962 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4795, allocations: 12.03 kB / 0.6962 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4796, allocations: 36.83 kB / 0.6962 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4798, allocations: 324.1 kB / 0.6965 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.48, allocations: 51.47 kB / 0.6966 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.4803, allocations: 91.81 kB / 0.6967 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.4807, allocations: 144.6 kB / 0.6968 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4807, allocations: 1.375 kB / 0.6968 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006433/0.4814, allocations: 204.9 kB / 0.697 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.4814, allocations: 36.83 kB / 0.6971 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4814, allocations: 1.281 kB / 0.6971 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4815, allocations: 6.719 kB / 0.6971 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4816, allocations: 15.11 kB / 0.6971 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4816, allocations: 6.094 kB / 0.6971 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.4819, allocations: 36.27 kB / 0.6971 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.482, allocations: 10.53 kB / 0.6971 GB, free: 9.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001452/0.4821, allocations: 125.5 kB / 0.6972 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.4822, allocations: 10.72 kB / 0.6973 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.4822, allocations: 9.656 kB / 0.6973 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4822, allocations: 5.406 kB / 0.6973 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.4822, allocations: 3.938 kB / 0.6973 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4822, allocations: 0 / 0.6973 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.4829, allocations: 376.1 kB / 0.6976 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.483, allocations: 0 / 0.6976 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.483, allocations: 6.312 kB / 0.6976 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.4831, allocations: 3.984 kB / 0.6976 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4831, allocations: 13.5 kB / 0.6977 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4831, allocations: 0 / 0.6977 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4831, allocations: 0 / 0.6977 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.4835, allocations: 209.2 kB / 0.6979 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4836, allocations: 78.98 kB / 0.6979 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.4837, allocations: 1.062 kB / 0.6979 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4838, allocations: 20.08 kB / 0.6979 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.4839, allocations: 12.02 kB / 0.698 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4839, allocations: 1.625 kB / 0.698 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.825e-05/0.484, allocations: 91.67 kB / 0.698 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.484, allocations: 1.5 kB / 0.698 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004288/0.4844, allocations: 23.47 kB / 0.6981 GB, free: 8.344 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0008927/0.4853, allocations: 0.7447 MB / 0.6988 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.4859, allocations: 180.6 kB / 0.699 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4859, allocations: 0 / 0.699 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.4861, allocations: 43.62 kB / 0.699 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.4865, allocations: 24.23 kB / 0.699 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.4895, allocations: 1.681 MB / 0.7007 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.4899, allocations: 0.6923 MB / 0.7014 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.49, allocations: 4 kB / 0.7014 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.49, allocations: 23.42 kB / 0.7014 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.49, allocations: 0 / 0.7014 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.5179, allocations: 2.531 MB / 0.7039 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.481, allocations: 3.75 kB / 0.7039 GB, free: 2.633 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23325804900378] Failed to read output from testmodel.py, exit status != 0: 8.548861126881093 8.563152318 8.085390751 Calling exit ...