Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000881/0.000881, 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.001201/0.001201, 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.9428/0.9428, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7369/0.7369, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.215e-05, allocations: 5.891 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001297/0.00132, allocations: 0.6809 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.002242, allocations: 0.8587 MB / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.002278, allocations: 0 / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.002305, allocations: 3.938 kB / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.002373, allocations: 7.984 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.002515, allocations: 23.91 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.002595, allocations: 43.86 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.002693, allocations: 19.97 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.002766, allocations: 19.98 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.00282, allocations: 19.91 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.002843, allocations: 12 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.002852, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.00287, allocations: 7.984 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.002891, allocations: 11.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.137e-05/0.002982, allocations: 55.78 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002984, allocations: 0 / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.002986, allocations: 0 / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.00299, allocations: 4 kB / 0.6198 GB, free: 11.97 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.0003754/0.003365, allocations: 274.3 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.003404, allocations: 9.469 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.003434, allocations: 42.69 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.003456, allocations: 8.891 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.284e-05/0.003549, allocations: 113.7 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.003562, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.003573, allocations: 8.375 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.003707, allocations: 69.95 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.003714, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003723, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003727, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.003837, allocations: 55.89 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.004164, allocations: 259.8 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.004293, allocations: 58.55 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.004351, allocations: 36.91 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.004365, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.004384, allocations: 34.5 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.004385, allocations: 0 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.004652, allocations: 113.6 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.004684, allocations: 51.41 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.00475, allocations: 113.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004762, allocations: 25.7 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.004806, allocations: 88.12 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004821, allocations: 7.953 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.004852, allocations: 17.72 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.004935, allocations: 318.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.004993, allocations: 27.98 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.005044, allocations: 27.97 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.00515, allocations: 52.75 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005152, allocations: 0 / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.005287, allocations: 81.61 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.005303, allocations: 7.984 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005308, allocations: 4 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.00532, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.005414, allocations: 15.98 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.005421, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.005461, allocations: 15.92 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.005467, allocations: 0 / 0.6216 GB, free: 9.871 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,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 8.658e-05/0.005553, allocations: 115.1 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.00557, allocations: 7.953 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.005604, allocations: 11.98 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005607, allocations: 3.938 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.005615, allocations: 4 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.005619, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.005747, allocations: 148.6 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005749, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.005793, allocations: 11.98 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005795, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.005806, allocations: 4 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005807, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005808, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.005992, allocations: 187.4 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.006006, allocations: 3.953 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.006022, allocations: 0 / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.006069, allocations: 11.98 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.006127, allocations: 7.984 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.006133, allocations: 8 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.006171, allocations: 91.5 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006171, allocations: 3.938 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001598/0.006331, allocations: 12 kB / 0.6223 GB, free: 9.176 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 (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.0003977/0.006728, allocations: 0.7085 MB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.006882, allocations: 59.88 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006884, allocations: 0 / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.748e-05/0.006941, allocations: 31.97 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.007187, allocations: 8.281 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.008171, allocations: 1.319 MB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.008216, allocations: 67.34 kB / 0.6244 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.008249, allocations: 11.94 kB / 0.6244 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.008305, allocations: 20.48 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.008305, allocations: 0 / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.02724, allocations: 2.563 MB / 0.6269 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.938, allocations: 4.938 kB / 0.6269 GB, free: 4.422 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82574780471623] Failed to read output from testmodel.py, exit status != 0: 7.021472780033946 7.037660092 7.03205245 Calling exit ...