Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0009589/0.0009589, allocations: 105.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.0009264/0.0009264, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.936/0.936, allocations: 230.6 MB / 256 MB, free: 9.617 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.7577/0.7577, allocations: 203.5 MB / 0.5039 GB, free: 10.76 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.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001309/0.001309, allocations: 62.53 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4745, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001456/0.4759, allocations: 0.6879 MB / 0.8181 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.4768, allocations: 0.8603 MB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.4768, allocations: 1.375 kB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.4768, allocations: 4.734 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.4769, allocations: 7.547 kB / 0.8189 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4771, allocations: 25.39 kB / 0.8189 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.4772, allocations: 49.14 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4773, allocations: 10.16 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.4773, allocations: 18.73 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.4774, allocations: 27.91 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.4774, allocations: 4.25 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.4774, allocations: 4.375 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.4774, allocations: 15.41 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4775, allocations: 15.56 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.4776, allocations: 49.72 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4776, allocations: 0 / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4776, allocations: 0 / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4776, allocations: 5.219 kB / 0.8191 GB, free: 32 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.0004501/0.478, allocations: 281.2 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4781, allocations: 14.78 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.4781, allocations: 40.47 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.4781, allocations: 3.094 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.4782, allocations: 112.3 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4782, allocations: 1.875 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.4783, allocations: 10.75 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4784, allocations: 63.48 kB / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4785, allocations: 1.156 kB / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4785, allocations: 0 / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4785, allocations: 1.125 kB / 0.8196 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4786, allocations: 57.7 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.479, allocations: 256.8 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.4791, allocations: 56.48 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.4792, allocations: 32.3 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4792, allocations: 1.125 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4792, allocations: 38.28 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4792, allocations: 4 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000291/0.4795, allocations: 103.4 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4795, allocations: 55.7 kB / 0.8202 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.4796, allocations: 109.4 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.4796, allocations: 25.7 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.4797, allocations: 91.17 kB / 0.8204 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.4797, allocations: 5.922 kB / 0.8204 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.4797, allocations: 22.78 kB / 0.8205 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.4798, allocations: 324.1 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.4799, allocations: 25.72 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.4799, allocations: 24.83 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.48, allocations: 52.97 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.48, allocations: 0 / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/0.4802, allocations: 84.86 kB / 0.8209 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4802, allocations: 8.875 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4802, allocations: 4.641 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4802, allocations: 0 / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.4803, allocations: 16.66 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4803, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.4804, allocations: 10.94 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4804, allocations: 4.5 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,intLesThr.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 6.722e-05/0.4804, allocations: 114.4 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.4804, allocations: 7.984 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.4805, allocations: 10.8 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4805, allocations: 0 / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4805, allocations: 3.562 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4805, allocations: 0.6562 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.4806, allocations: 139.5 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4806, allocations: 4 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.4807, allocations: 11.22 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4807, allocations: 2.125 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4807, allocations: 0.6562 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4807, allocations: 0.6094 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4807, allocations: 0 / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4808, allocations: 189.7 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.4809, allocations: 10.03 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.4809, allocations: 0.5625 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.4809, allocations: 8.984 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.481, allocations: 15.64 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.481, allocations: 1.938 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.481, allocations: 96.16 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.481, allocations: 0 / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001516/0.4812, allocations: 15.05 kB / 0.8216 GB, free: 13.82 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 (intLesThr.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.0003548/0.4815, allocations: 0.7033 MB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.4817, allocations: 59.66 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4817, allocations: 0 / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.4818, allocations: 29.28 kB / 0.8224 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.482, allocations: 16.36 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4834, allocations: 1.325 MB / 0.8237 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.4834, allocations: 66.31 kB / 0.8237 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.4835, allocations: 7.453 kB / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.4835, allocations: 23.17 kB / 0.8238 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4835, allocations: 0 / 0.8238 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.4997, allocations: 2.398 MB / 0.8261 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/7.244, allocations: 7.828 kB / 0.8261 GB, free: 10.96 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.158855869900435] Failed to read output from testmodel.py, exit status != 0: 7.32319921720773 7.338513789 6.858578484 Calling exit ...