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.000876/0.000876, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009443/0.0009443, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8838/0.8838, allocations: 177.2 MB / 202.8 MB, free: 5.762 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7122/0.7122, allocations: 154.9 MB / 414.2 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.001169/0.001169, allocations: 64.22 kB / 0.6186 GB, free: 13.27 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4523, allocations: 102 MB / 0.7182 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001624/0.4539, allocations: 0.6749 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4549, allocations: 0.8593 MB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.455, allocations: 3.938 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.455, allocations: 8.969 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.4551, allocations: 4.641 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.4552, allocations: 30.67 kB / 0.7197 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.4553, allocations: 40.75 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4554, allocations: 14.41 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.4555, allocations: 29.81 kB / 0.7198 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.4556, allocations: 24.77 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.4556, allocations: 4.188 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.4556, allocations: 4.562 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.4556, allocations: 11.55 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.4556, allocations: 22.78 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.4558, allocations: 49.56 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4558, allocations: 0 / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4558, allocations: 0 / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4558, allocations: 0 / 0.7199 GB, free: 21.94 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.0003882/0.4562, allocations: 288.2 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4562, allocations: 11.39 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.4562, allocations: 32.89 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.4562, allocations: 7.984 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.4563, allocations: 110.5 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4563, allocations: 10.72 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4564, allocations: 6.375 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4565, allocations: 69.45 kB / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4565, allocations: 0 / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4565, allocations: 1.062 kB / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4565, allocations: 3.938 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4566, allocations: 51.77 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.457, allocations: 263.5 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.4571, allocations: 67.59 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.4572, allocations: 28 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.4572, allocations: 1.953 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.4572, allocations: 32.58 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4572, allocations: 0 / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002977/0.4575, allocations: 108.8 kB / 0.721 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.4575, allocations: 56.98 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.4576, allocations: 107.1 kB / 0.7211 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.4576, allocations: 29.7 kB / 0.7212 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.4576, allocations: 89.16 kB / 0.7213 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.4576, allocations: 13.83 kB / 0.7213 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4577, allocations: 15.95 kB / 0.7213 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.4577, allocations: 321.5 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.4578, allocations: 26.36 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.4578, allocations: 22.94 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4579, allocations: 53.89 kB / 0.7217 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4579, allocations: 1.156 kB / 0.7217 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.4581, allocations: 91.2 kB / 0.7218 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4581, allocations: 5.406 kB / 0.7218 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4581, allocations: 1.094 kB / 0.7218 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4581, allocations: 0 / 0.7218 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.4582, allocations: 15.98 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4582, allocations: 0.6562 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.4582, allocations: 12.34 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4582, allocations: 1.844 kB / 0.7218 GB, free: 20.29 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 5.365e-05/0.4583, allocations: 116.3 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.4583, allocations: 1.75 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.4583, allocations: 9.828 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4583, allocations: 1.125 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4583, allocations: 0 / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4583, allocations: 9.609 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.4585, allocations: 144 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4585, allocations: 1.672 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.4585, allocations: 15.38 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4585, allocations: 1.188 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4585, allocations: 0.6562 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4585, allocations: 2.109 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4585, allocations: 0 / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.4587, allocations: 180.5 kB / 0.7223 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.4587, allocations: 5.719 kB / 0.7223 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.4587, allocations: 5.625 kB / 0.7223 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.4587, allocations: 12.58 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.4588, allocations: 16.22 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4588, allocations: 5.703 kB / 0.7223 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.4588, allocations: 87.55 kB / 0.7224 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4588, allocations: 0 / 0.7224 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001486/0.459, allocations: 7.094 kB / 0.7224 GB, free: 19.73 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.0002856/0.4593, allocations: 0.7151 MB / 0.7231 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4594, allocations: 51.66 kB / 0.7232 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4594, allocations: 1.094 kB / 0.7232 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.4595, allocations: 33.41 kB / 0.7232 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4598, allocations: 10.64 kB / 0.7232 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.4607, allocations: 1.331 MB / 0.7245 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.4607, allocations: 69.95 kB / 0.7246 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.4608, allocations: 3.906 kB / 0.7246 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.4608, allocations: 22.38 kB / 0.7246 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4608, allocations: 0 / 0.7246 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.4806, allocations: 2.542 MB / 0.7271 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.446, allocations: 16.53 kB / 0.7271 GB, free: 16.81 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.184800223098136] Failed to read output from testmodel.py, exit status != 0: 7.52504830097314 7.539115575 7.080689516 Calling exit ...