Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001345/0.001345, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001058/0.001058, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9701/0.9701, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7977/0.7977, allocations: 203.5 MB / 0.5039 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.0009651/0.0009651, allocations: 81.27 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4955, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00136/0.4969, allocations: 0.6897 MB / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.4975, allocations: 0.8578 MB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.4976, allocations: 2.25 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.4976, allocations: 4.594 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.4977, allocations: 4.781 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.4978, allocations: 30.42 kB / 0.8189 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.4979, allocations: 44.3 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.498, allocations: 10.2 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.4981, allocations: 25.73 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.4981, allocations: 26.03 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4981, allocations: 6.625 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.4981, allocations: 3.969 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4982, allocations: 10.05 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.4982, allocations: 13.45 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.4983, allocations: 52.27 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4983, allocations: 4.641 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4983, allocations: 4 kB / 0.8191 GB, free: 44 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4983, allocations: 0 / 0.8191 GB, free: 44 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.0004019/0.4987, allocations: 279 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4987, allocations: 14.66 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.4988, allocations: 35.97 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.4988, allocations: 2.75 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.4989, allocations: 112.2 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4989, allocations: 4.406 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4989, allocations: 8.125 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.499, allocations: 69.62 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.499, allocations: 0 / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.499, allocations: 0 / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.499, allocations: 2.344 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.4992, allocations: 54.7 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.4995, allocations: 260.8 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.4996, allocations: 60.47 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.4997, allocations: 31.89 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4997, allocations: 5.953 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4997, allocations: 31.84 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4997, allocations: 0 / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002622/0.5, allocations: 107.2 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.5, allocations: 52.02 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.5001, allocations: 108.2 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.5001, allocations: 25.7 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.5001, allocations: 96.83 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5001, allocations: 4.562 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.5002, allocations: 20.48 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.5003, allocations: 320.6 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.5003, allocations: 26.75 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.5004, allocations: 24.7 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.5005, allocations: 52.2 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5005, allocations: 4 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001376/0.5006, allocations: 88.69 kB / 0.8209 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5006, allocations: 4.781 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5006, allocations: 1.438 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5006, allocations: 4.828 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.5007, allocations: 16.31 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5007, allocations: 1.031 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.5008, allocations: 9.391 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5008, allocations: 9.922 kB / 0.821 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,intLesEquThr.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.524e-05/0.5008, allocations: 114.4 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.5008, allocations: 2.188 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.5009, allocations: 5.609 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5009, allocations: 0.6562 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5009, allocations: 1.312 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5009, allocations: 0 / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.501, allocations: 141.7 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.501, allocations: 0.8438 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.501, allocations: 11.08 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.501, allocations: 4 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.501, allocations: 7.75 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.501, allocations: 0 / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.501, allocations: 0.75 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.5012, allocations: 191.7 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.5012, allocations: 6.344 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.5012, allocations: 0.7031 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.5013, allocations: 8.094 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5013, allocations: 15.5 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5013, allocations: 3.938 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.5014, allocations: 91.39 kB / 0.8216 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5014, allocations: 0 / 0.8216 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001449/0.5015, allocations: 9.609 kB / 0.8216 GB, free: 13.84 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 (intLesEquThr.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.0003553/0.5019, allocations: 0.7052 MB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.502, allocations: 62.83 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.502, allocations: 0 / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.5021, allocations: 28.17 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.5023, allocations: 8.297 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5033, allocations: 1.324 MB / 0.8237 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.5034, allocations: 71.39 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.5034, allocations: 3.922 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.5034, allocations: 18.91 kB / 0.8237 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.5034, allocations: 3.938 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.5213, allocations: 2.419 MB / 0.8261 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.142, allocations: 11.8 kB / 0.8261 GB, free: 10.96 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.203609087038785] Failed to read output from testmodel.py, exit status != 0: 7.223938541021198 7.241300671 6.739916833 Calling exit ...