Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001252/0.001252, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001016/0.001016, allocations: 218.3 kB / 22.25 MB, free: 3.699 MB / 13.93 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 0.9982/0.9982, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7796/0.7796, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009576/0.0009576, allocations: 69.33 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4628, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001326/0.4642, allocations: 0.7056 MB / 0.8185 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000558/0.4647, allocations: 0.8675 MB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.4648, allocations: 1.312 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.4648, allocations: 4.547 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.4648, allocations: 10.12 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.4649, allocations: 35.41 kB / 0.8194 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.465, allocations: 43.64 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.4651, allocations: 9.625 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.4651, allocations: 22.52 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.4652, allocations: 29.95 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4652, allocations: 3.156 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.4652, allocations: 4.625 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.4652, allocations: 12.09 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.4652, allocations: 18.14 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.749e-05/0.4653, allocations: 50.56 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4653, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4653, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.4653, allocations: 4 kB / 0.8196 GB, free: 36 kB / 0.6042 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.0003124/0.4656, allocations: 286.6 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.4657, allocations: 9.531 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/0.4657, allocations: 34.11 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.705e-05/0.4657, allocations: 1.5 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.4658, allocations: 120.8 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4658, allocations: 2.844 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4658, allocations: 5.875 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.4659, allocations: 68.45 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.4659, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.4659, allocations: 0.6562 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4659, allocations: 3.984 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4661, allocations: 52.77 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4663, allocations: 269.9 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4664, allocations: 66.77 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.4665, allocations: 27 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.4665, allocations: 0 / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.4665, allocations: 34.92 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 4.71e-07/0.4665, allocations: 0 / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.4667, allocations: 112.3 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4668, allocations: 51.41 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.4668, allocations: 105.8 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.4668, allocations: 29.2 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.4669, allocations: 89.5 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.4669, allocations: 8.016 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.4669, allocations: 21.42 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.467, allocations: 324.9 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.467, allocations: 23.8 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.4671, allocations: 23.17 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/0.4672, allocations: 58.92 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4672, allocations: 0.7031 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.4673, allocations: 92.38 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4673, allocations: 5.312 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-06/0.4673, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4673, allocations: 0.6562 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.4674, allocations: 12.27 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.4674, allocations: 1.469 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.4674, allocations: 6.969 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4674, allocations: 5.938 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.442e-05/0.4675, allocations: 116.9 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.4675, allocations: 2.5 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.4675, allocations: 6.344 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.4675, allocations: 0 / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4675, allocations: 1.156 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4675, allocations: 0.75 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.4676, allocations: 153.7 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4676, allocations: 4.641 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.4677, allocations: 11.3 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4677, allocations: 7.828 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4677, allocations: 0.7969 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4677, allocations: 4.547 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.4677, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4679, allocations: 188.8 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.4679, allocations: 4.547 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.4679, allocations: 5.156 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.4679, allocations: 6.531 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.468, allocations: 12.88 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.468, allocations: 3.203 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.468, allocations: 90.94 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.468, allocations: 0 / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001371/0.4681, allocations: 10.7 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003252/0.4685, allocations: 0.7136 MB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.4686, allocations: 57.11 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.4686, allocations: 0 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.4687, allocations: 37.34 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4689, allocations: 7.938 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.47, allocations: 1.327 MB / 0.8242 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.4702, allocations: 0.6814 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.4702, allocations: 7.141 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.4702, allocations: 18.31 kB / 0.8249 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.4702, allocations: 0 / 0.8249 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.4837, allocations: 1.967 MB / 0.8268 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/7.189, allocations: 10.88 kB / 0.8268 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.229744107928127] Failed to read output from testmodel.py, exit status != 0: 7.268169875955209 7.285084623 6.817214221 Calling exit ...