Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008428/0.0008428, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008507/0.0008507, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9681/0.9681, 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 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.7803/0.7803, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_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.001105/0.001105, allocations: 61.81 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4787, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001567/0.4802, allocations: 0.6957 MB / 0.8185 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.4811, allocations: 0.8565 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.4811, allocations: 1.531 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.4811, allocations: 4.734 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.4812, allocations: 12.19 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.4814, allocations: 24.3 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.4815, allocations: 47.25 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4816, allocations: 9.891 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.4816, allocations: 21.97 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.4817, allocations: 23.73 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.4817, allocations: 4.656 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.4817, allocations: 2.906 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.482, allocations: 22.34 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.482, allocations: 12.42 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4821, allocations: 46.34 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4821, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4821, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4821, allocations: 3.688 kB / 0.8195 GB, free: 15.85 MB / 0.6198 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.0003829/0.4825, allocations: 282.2 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4826, allocations: 14.09 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.4826, allocations: 35.36 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.4826, allocations: 4.078 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/0.4827, allocations: 113.8 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4827, allocations: 4.312 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4827, allocations: 6.094 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4829, allocations: 68.06 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.4829, allocations: 0 / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4829, allocations: 4.75 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4829, allocations: 1.969 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.483, allocations: 53.09 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.4833, allocations: 256.6 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4835, allocations: 62.97 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.4835, allocations: 31.73 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.4835, allocations: 2.516 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4836, allocations: 31.17 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4836, allocations: 4 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002656/0.4838, allocations: 101.5 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.4838, allocations: 56.45 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.4839, allocations: 113 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.4839, allocations: 25.7 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.484, allocations: 92.64 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.484, allocations: 4.891 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.484, allocations: 20.06 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.4841, allocations: 324.3 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.4841, allocations: 21.22 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.4842, allocations: 21.83 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.4843, allocations: 54.94 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4843, allocations: 3.938 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.4844, allocations: 88.14 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4844, allocations: 12.31 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4844, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4845, allocations: 1.344 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.4845, allocations: 13.91 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4845, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.4846, allocations: 8.703 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4846, allocations: 8.594 kB / 0.8214 GB, free: 14.21 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.451e-05/0.4846, allocations: 112.7 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.4847, allocations: 4.094 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4847, allocations: 12.52 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4847, allocations: 0 / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4847, allocations: 4.562 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4847, allocations: 2.156 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4848, allocations: 141.2 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4848, allocations: 0 / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.4848, allocations: 11.19 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4848, allocations: 0.5156 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4848, allocations: 3.453 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.4848, allocations: 0 / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4848, allocations: 4 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.485, allocations: 188 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.485, allocations: 7.141 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.485, allocations: 0.5625 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.4851, allocations: 12.39 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4851, allocations: 6.438 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.4851, allocations: 5.859 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.4852, allocations: 91.47 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4852, allocations: 1.438 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001447/0.4853, allocations: 18.58 kB / 0.822 GB, free: 13.64 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.0003397/0.4856, allocations: 0.7072 MB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.4858, allocations: 54.77 kB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4858, allocations: 0 / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.4859, allocations: 30.22 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4861, allocations: 10.16 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.4871, allocations: 1.339 MB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.4871, allocations: 64.41 kB / 0.8242 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.4872, allocations: 9.016 kB / 0.8242 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.4872, allocations: 21.28 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4872, allocations: 1.062 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.5038, allocations: 2.405 MB / 0.8265 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/7.195, allocations: 19.55 kB / 0.8265 GB, free: 10.76 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.21189799439162] Failed to read output from testmodel.py, exit status != 0: 7.275848369114101 7.290977542 6.806542928 Calling exit ...