Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009709/0.0009709, 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.0008395/0.0008395, 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.9607/0.9607, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7515/0.7515, allocations: 154.5 MB / 413.7 MB, free: 0.8477 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.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.72e-05, allocations: 8.984 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001427/0.001454, allocations: 0.6822 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.002305, allocations: 0.8587 MB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.002346, allocations: 0 / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.002375, allocations: 3.938 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.002448, allocations: 8 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.002596, allocations: 19.92 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.002669, allocations: 43.91 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.002781, allocations: 19.91 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.002865, allocations: 31.92 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.002919, allocations: 11.98 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.002943, allocations: 7.938 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.002952, allocations: 8 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.00297, allocations: 11.97 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.002993, allocations: 11.98 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.645e-05/0.003089, allocations: 47.84 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003091, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003093, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003097, 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.0003981/0.003495, allocations: 278.3 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.003537, allocations: 13.47 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.003564, allocations: 30.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.003591, allocations: 12.89 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.00369, allocations: 113.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.003703, allocations: 4.375 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.003713, allocations: 384 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.00386, allocations: 73.97 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.003867, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003877, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.003883, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.003999, allocations: 51.94 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.004331, allocations: 255.8 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.004462, allocations: 74.41 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.004521, allocations: 32.91 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.004536, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.004555, allocations: 38.56 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004556, allocations: 0 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002578/0.004814, allocations: 101.8 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.004842, allocations: 55.41 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.004905, allocations: 109.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.004918, allocations: 29.7 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.004955, allocations: 88.14 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.004971, allocations: 11.89 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.005002, allocations: 17.7 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.00508, allocations: 322.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.00514, allocations: 23.97 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.005187, allocations: 27.95 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.005287, allocations: 48.77 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005289, allocations: 4 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.005419, allocations: 89.59 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.00543, allocations: 8 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005435, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005446, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.005521, allocations: 11.98 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005526, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.00556, allocations: 7.984 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005564, 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,intGreEquThr.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.506e-05/0.005629, allocations: 122.8 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.005645, allocations: 7.953 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.005668, allocations: 11.98 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.005673, allocations: 0 / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005677, allocations: 0 / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005679, allocations: 0 / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.006064, allocations: 144.6 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006066, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.006109, allocations: 15.92 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006112, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.006121, allocations: 7.984 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.006122, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006124, allocations: 4 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.006289, allocations: 183.4 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.006299, allocations: 3.953 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.00631, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.006356, allocations: 11.98 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.006405, allocations: 11.92 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.00641, allocations: 8 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.006441, allocations: 83.59 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006441, allocations: 0 / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001469/0.006588, allocations: 11.94 kB / 0.6222 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 (intGreEquThr.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.0003544/0.006942, allocations: 0.7124 MB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.007093, allocations: 52.19 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007095, allocations: 4 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.007151, allocations: 39.98 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.007375, allocations: 0 / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.008366, allocations: 1.325 MB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.008414, allocations: 71.33 kB / 0.6244 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.00845, allocations: 4 kB / 0.6244 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.0085, allocations: 16.5 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.008501, allocations: 3.938 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.02617, allocations: 2.57 MB / 0.6269 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.853, allocations: 7.172 kB / 0.6269 GB, free: 4.426 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_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_GreaterEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82723255828023] Failed to read output from testmodel.py, exit status != 0: 6.934984242543578 6.945071889 6.939919703 Calling exit ...