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.001149/0.001149, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00135/0.00135, allocations: 218.3 kB / 22.25 MB, free: 3.699 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.9357/0.9357, allocations: 230.6 MB / 256 MB, free: 9.809 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.8439/0.8439, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.001404/0.001404, allocations: 70.17 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5056, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001494/0.5071, allocations: 0.7008 MB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.5078, allocations: 0.8733 MB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.5079, allocations: 0 / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.5079, allocations: 4.547 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.508, allocations: 6.172 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.5082, allocations: 25.11 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.5083, allocations: 45.56 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.5085, allocations: 12.83 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.5086, allocations: 24.78 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.5087, allocations: 23.94 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.5087, allocations: 4.625 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.5087, allocations: 4.812 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.5088, allocations: 12.92 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.5088, allocations: 25.86 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.5089, allocations: 49.27 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.5089, allocations: 0 / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.276e-06/0.509, allocations: 0 / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.509, allocations: 4 kB / 0.8196 GB, free: 40 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.0005639/0.5095, allocations: 284.5 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.5096, allocations: 9.094 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.5096, allocations: 33.61 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.5096, allocations: 2.5 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.5098, allocations: 111.8 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5098, allocations: 8.062 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.5098, allocations: 4.125 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.51, allocations: 77.17 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.51, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.51, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.51, allocations: 2.484 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5101, allocations: 52.17 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.5105, allocations: 256.9 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.5106, allocations: 70.06 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.5107, allocations: 31.34 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.5107, allocations: 0.8125 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5107, allocations: 32.88 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5107, allocations: 0 / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002746/0.511, allocations: 109.2 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.511, allocations: 54.28 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.5111, allocations: 109.4 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.5111, allocations: 25.7 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.5112, allocations: 91.62 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.5112, allocations: 7.297 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.5112, allocations: 24.23 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.5113, allocations: 320.4 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.5114, allocations: 22.3 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.5114, allocations: 27.95 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5115, allocations: 53.25 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5115, allocations: 0 / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001528/0.5117, allocations: 88.41 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5117, allocations: 8.562 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5117, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5117, allocations: 4.453 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.5118, allocations: 11.44 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.5118, allocations: 0.7969 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.5119, allocations: 12.8 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5119, allocations: 4.688 kB / 0.8215 GB, free: 14.4 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 6.455e-05/0.5119, allocations: 119 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.5119, allocations: 0 / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.512, allocations: 10.05 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.512, allocations: 0 / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.512, allocations: 2.594 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.512, allocations: 0 / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5121, allocations: 149.5 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5121, allocations: 4 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.5122, allocations: 17.42 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5122, allocations: 4 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5122, allocations: 0.6562 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.5122, allocations: 1.656 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5122, allocations: 0.6094 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.5124, allocations: 186.3 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.5124, allocations: 7.672 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.5124, allocations: 4.609 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.5124, allocations: 6.719 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.5125, allocations: 13.66 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5125, allocations: 1.078 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.5125, allocations: 95.61 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5125, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001594/0.5127, allocations: 9.984 kB / 0.8221 GB, free: 13.83 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.0004157/0.5131, allocations: 0.7145 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.5133, allocations: 57.05 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5133, allocations: 0 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.5133, allocations: 36.33 kB / 0.8229 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.0002184/0.5136, allocations: 6.609 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5146, allocations: 1.329 MB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.5148, allocations: 0.6809 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.5148, allocations: 8.625 kB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.5149, allocations: 17.17 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5149, allocations: 0 / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.5298, allocations: 1.958 MB / 0.8268 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/7.081, allocations: 13.95 kB / 0.8268 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.111409833887592] Failed to read output from testmodel.py, exit status != 0: 7.158870451152325 7.170803088 6.659534317 Calling exit ...