Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0008327/0.0008327, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.0009514/0.0009514, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9562/0.9562, allocations: 230.6 MB / 256 MB, free: 3.574 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.782/0.782, allocations: 203.8 MB / 0.5042 GB, free: 0.7031 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.0008388/0.0008388, allocations: 63.89 kB / 0.7182 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4525, allocations: 102 MB / 0.8179 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001535/0.4541, allocations: 0.6961 MB / 0.8185 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007395/0.4548, allocations: 0.8663 MB / 0.8194 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.4548, allocations: 1.5 kB / 0.8194 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.4549, allocations: 4.969 kB / 0.8194 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.4549, allocations: 5.875 kB / 0.8194 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.4551, allocations: 30.39 kB / 0.8194 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.4552, allocations: 40.61 kB / 0.8195 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.4553, allocations: 15.75 kB / 0.8195 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.4553, allocations: 22.55 kB / 0.8195 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.4554, allocations: 25.38 kB / 0.8195 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4554, allocations: 4.219 kB / 0.8195 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.4554, allocations: 7.781 kB / 0.8195 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.4555, allocations: 16.3 kB / 0.8196 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.4555, allocations: 13.97 kB / 0.8196 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.4556, allocations: 55.2 kB / 0.8196 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4556, allocations: 2 kB / 0.8196 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4556, allocations: 0 / 0.8196 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4556, allocations: 0 / 0.8196 GB, free: 23.84 MB / 0.6355 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.0003743/0.456, allocations: 288.2 kB / 0.8199 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.456, allocations: 10.59 kB / 0.8199 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.374e-05/0.4561, allocations: 33.97 kB / 0.8199 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.4561, allocations: 6.609 kB / 0.82 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.052e-05/0.4562, allocations: 111.7 kB / 0.8201 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4562, allocations: 7.188 kB / 0.8201 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.4562, allocations: 5.938 kB / 0.8201 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4563, allocations: 66.25 kB / 0.8201 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4563, allocations: 0 / 0.8201 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4563, allocations: 5.406 kB / 0.8201 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4563, allocations: 6.5 kB / 0.8201 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.4565, allocations: 47.88 kB / 0.8202 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.4568, allocations: 276 kB / 0.8205 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4569, allocations: 61 kB / 0.8205 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.457, allocations: 32.66 kB / 0.8205 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.457, allocations: 1.156 kB / 0.8205 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.457, allocations: 31.88 kB / 0.8206 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.457, allocations: 3.812 kB / 0.8206 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.4572, allocations: 105.3 kB / 0.8207 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.4573, allocations: 52.16 kB / 0.8207 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.4573, allocations: 111.6 kB / 0.8208 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.4573, allocations: 26.8 kB / 0.8209 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.4574, allocations: 91.12 kB / 0.8209 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.4574, allocations: 13.64 kB / 0.821 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.4574, allocations: 19.97 kB / 0.821 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.797e-05/0.4574, allocations: 318 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.4575, allocations: 22.58 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.4575, allocations: 22.47 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4576, allocations: 58.2 kB / 0.8214 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4577, allocations: 0 / 0.8214 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.4578, allocations: 87.73 kB / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4578, allocations: 5.562 kB / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4578, allocations: 1 kB / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4578, allocations: 0 / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.4579, allocations: 11.81 kB / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4579, allocations: 4.984 kB / 0.8215 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.4579, allocations: 12.55 kB / 0.8215 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.458, allocations: 9.688 kB / 0.8215 GB, free: 22.2 MB / 0.6355 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,intGreThr.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 4.285e-05/0.458, allocations: 109.7 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.458, allocations: 2.312 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.458, allocations: 10.22 kB / 0.8216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.458, allocations: 0.9688 kB / 0.8216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.458, allocations: 0.5625 kB / 0.8216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.458, allocations: 0.75 kB / 0.8216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.4581, allocations: 149.9 kB / 0.8218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4581, allocations: 4.328 kB / 0.8218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.4582, allocations: 16.09 kB / 0.8218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4582, allocations: 0.6875 kB / 0.8218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4582, allocations: 1.328 kB / 0.8218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.4582, allocations: 0.5938 kB / 0.8218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4582, allocations: 1.031 kB / 0.8218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.4583, allocations: 191 kB / 0.822 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.4583, allocations: 11.2 kB / 0.822 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.4584, allocations: 0.75 kB / 0.822 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.4584, allocations: 9.438 kB / 0.822 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4584, allocations: 14.38 kB / 0.822 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.4585, allocations: 2.812 kB / 0.822 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.4585, allocations: 90.78 kB / 0.8221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4585, allocations: 0 / 0.8221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001446/0.4586, allocations: 10.47 kB / 0.8221 GB, free: 21.64 MB / 0.6355 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 (intGreThr.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.0002379/0.4589, allocations: 0.7113 MB / 0.8228 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.459, allocations: 55.36 kB / 0.8229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.459, allocations: 4 kB / 0.8229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.4591, allocations: 32.81 kB / 0.8229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.4593, allocations: 8.656 kB / 0.8229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.4601, allocations: 1.33 MB / 0.8242 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.4602, allocations: 0.6856 MB / 0.8249 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.4602, allocations: 4.609 kB / 0.8249 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4603, allocations: 16.12 kB / 0.8249 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.4603, allocations: 0.6875 kB / 0.8249 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.4751, allocations: 1.965 MB / 0.8268 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/7.008, allocations: 14.08 kB / 0.8268 GB, free: 18.6 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.987102161161602] Failed to read output from testmodel.py, exit status != 0: 7.083428998012096 7.098290076 6.640630619 Calling exit ...