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.001119/0.001119, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001111/0.001111, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9141/0.9141, allocations: 177.2 MB / 202.8 MB, free: 5.742 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: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.725/0.725, allocations: 154.5 MB / 413.7 MB, free: 0.8594 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.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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.743e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001288/0.001305, allocations: 0.6942 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002341, allocations: 0.8548 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.002389, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.002426, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.00253, allocations: 7.938 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.002731, allocations: 31.89 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.426e-05/0.002825, allocations: 39.86 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.002956, allocations: 19.92 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.00305, allocations: 27.97 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.003122, allocations: 23.91 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.003153, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.003164, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.003194, allocations: 8 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.003222, allocations: 19.91 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.00334, allocations: 39.92 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.003343, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003344, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.003349, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 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.0004256/0.003775, allocations: 282.3 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.003816, allocations: 9.469 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.003848, allocations: 34.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.00387, allocations: 4.891 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.003964, allocations: 121.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.003978, allocations: 4.375 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.003986, allocations: 4.312 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.004118, allocations: 73.95 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004125, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.004135, allocations: 8 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004139, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.004251, allocations: 47.95 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.004553, allocations: 251.8 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.004676, allocations: 66.58 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.00473, allocations: 28.88 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.004743, allocations: 4 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.004761, allocations: 34.56 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004762, allocations: 0 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002477/0.005009, allocations: 113.6 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.005037, allocations: 51.41 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.005101, allocations: 117.8 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.005114, allocations: 25.7 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.005154, allocations: 80.14 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.005173, allocations: 23.88 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.0052, allocations: 13.72 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.005283, allocations: 322.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.005339, allocations: 23.98 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.005388, allocations: 23.97 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.00549, allocations: 52.81 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.005492, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.005628, allocations: 89.55 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.005641, allocations: 4 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005645, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005656, allocations: 4 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.005725, allocations: 7.984 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.005732, allocations: 7.984 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.005763, allocations: 4 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.005768, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 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.308e-05/0.005831, allocations: 126.8 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.005844, allocations: 7.891 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.005866, allocations: 12 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005868, allocations: 0 / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.005872, allocations: 0 / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005875, allocations: 0 / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.005986, allocations: 148.8 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005988, allocations: 3.984 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.006024, allocations: 11.98 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006025, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.006037, allocations: 3.938 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006038, allocations: 4 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006039, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.006195, allocations: 183.4 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.006204, allocations: 3.953 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006215, allocations: 0 / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.00626, allocations: 7.984 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.006307, allocations: 11.98 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006311, allocations: 4 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.006343, allocations: 95.56 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006343, allocations: 0 / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001489/0.006491, allocations: 8 kB / 0.6222 GB, free: 9.172 MB / 0.5886 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.0003296/0.006821, allocations: 0.7125 MB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.006966, allocations: 59.98 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006967, allocations: 0 / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.007035, allocations: 35.91 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.007243, allocations: 4 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.008214, allocations: 1.33 MB / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.008257, allocations: 67.34 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.008286, allocations: 4 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.008334, allocations: 20.48 kB / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.008335, allocations: 0 / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02306, allocations: 2.569 MB / 0.6269 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.874, allocations: 4 kB / 0.6269 GB, free: 4.41 MB / 0.5886 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: 9.671189231798053] Failed to read output from testmodel.py, exit status != 0: 6.95499215554446 6.96412628 6.958804156 Calling exit ...