Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.000941/0.000941, 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.0008413/0.0008413, 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.9117/0.9117, 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.7293/0.7293, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.512e-05, allocations: 11.38 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00164/0.001665, allocations: 0.6823 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.002542, allocations: 0.8548 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.002593, allocations: 4 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.002628, allocations: 3.938 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.002716, allocations: 3.984 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.002907, allocations: 23.91 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.003008, allocations: 47.86 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.003137, allocations: 15.97 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.003226, allocations: 19.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.003289, allocations: 27.91 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.003317, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.003327, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.00335, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.003377, allocations: 15.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003498, allocations: 51.84 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0035, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003502, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003506, allocations: 0 / 0.6198 GB, free: 11.95 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.0004816/0.003987, allocations: 278.3 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.004028, allocations: 13.47 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.00406, allocations: 34.75 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.004084, allocations: 4.891 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.004181, allocations: 125.6 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.004196, allocations: 4.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.004205, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.004341, allocations: 69.97 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.004348, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.004356, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.00436, allocations: 0 / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.004472, allocations: 55.95 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.004787, allocations: 259.8 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.004916, allocations: 70.52 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.004972, allocations: 24.92 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.004986, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.005007, allocations: 34.56 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.005008, allocations: 0 / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002615/0.005269, allocations: 113.5 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.005301, allocations: 55.41 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.005374, allocations: 109.8 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005387, allocations: 29.64 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.005441, allocations: 88.14 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.00546, allocations: 7.953 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.005494, allocations: 17.7 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.005596, allocations: 322.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.005653, allocations: 27.97 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.005702, allocations: 19.98 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.00581, allocations: 52.75 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005813, allocations: 0 / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000144/0.005957, allocations: 89.59 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.005975, allocations: 4 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.005983, allocations: 8 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.005999, allocations: 0 / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.006296, allocations: 11.98 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.006303, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.006342, allocations: 11.92 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.006349, allocations: 3.938 kB / 0.6216 GB, free: 9.852 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,intGreThr.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 7.916e-05/0.006428, allocations: 118.8 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.006444, allocations: 7.953 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.006475, allocations: 8 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.006478, allocations: 4 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.006486, allocations: 3.984 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.006491, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.006619, allocations: 140.6 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006621, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.006658, allocations: 15.98 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.006659, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.006669, allocations: 4 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006669, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00667, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.006844, allocations: 187.8 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-06/0.006854, allocations: 4 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.006868, allocations: 7.969 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.006911, allocations: 8 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.006961, allocations: 15.97 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.006964, allocations: 0 / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.006995, allocations: 87.58 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006995, allocations: 4 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001394/0.007134, allocations: 7.938 kB / 0.6222 GB, free: 9.164 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 (intGreThr.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.007464, allocations: 0.7163 MB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.007608, allocations: 51.95 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007609, allocations: 0 / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.007664, allocations: 39.84 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.007885, allocations: 4 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.008857, allocations: 1.327 MB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.008899, allocations: 63.34 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.008933, allocations: 11.98 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.008981, allocations: 16.5 kB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.008981, allocations: 0 / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02443, allocations: 2.565 MB / 0.6269 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.84, allocations: 3.203 kB / 0.6269 GB, free: 4.406 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.691956581547856] Failed to read output from testmodel.py, exit status != 0: 6.920823608525097 6.929624539 6.924326097 Calling exit ...