Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007994/0.0007994, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.000939/0.000939, allocations: 162 kB / 22.43 MB, free: 2.145 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.8825/0.8825, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6938/0.6938, allocations: 154.7 MB / 413.9 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001019/0.001019, allocations: 67.86 kB / 0.6183 GB, free: 13.48 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.447, allocations: 101.9 MB / 0.7179 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001299/0.4483, allocations: 0.682 MB / 0.7186 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.4491, allocations: 0.8585 MB / 0.7194 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.4491, allocations: 9.312 kB / 0.7194 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.4491, allocations: 4.547 kB / 0.7194 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.4492, allocations: 5.703 kB / 0.7194 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.4493, allocations: 27.19 kB / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.4494, allocations: 44.22 kB / 0.7195 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.4495, allocations: 16.98 kB / 0.7195 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.4496, allocations: 26.66 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.4496, allocations: 29.33 kB / 0.7195 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.4496, allocations: 5.25 kB / 0.7196 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.4497, allocations: 3.75 kB / 0.7196 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.4497, allocations: 13.78 kB / 0.7196 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.4497, allocations: 15.48 kB / 0.7196 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.461e-05/0.4498, allocations: 52.52 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4498, allocations: 0.7031 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4498, allocations: 1.406 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4498, allocations: 0 / 0.7196 GB, free: 22.24 MB / 0.6355 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.0003368/0.4501, allocations: 287.2 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4502, allocations: 10.19 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.4502, allocations: 32.69 kB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.4502, allocations: 10.23 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.4503, allocations: 116 kB / 0.7201 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4503, allocations: 1.906 kB / 0.7201 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4503, allocations: 6.938 kB / 0.7201 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4505, allocations: 64.8 kB / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.4505, allocations: 0 / 0.7201 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4505, allocations: 5.031 kB / 0.7201 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4505, allocations: 0 / 0.7201 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.4506, allocations: 48.44 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.4509, allocations: 262.1 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.451, allocations: 61.09 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.4511, allocations: 29.02 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4511, allocations: 0 / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.4511, allocations: 37.25 kB / 0.7206 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.4511, allocations: 0 / 0.7206 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.4513, allocations: 108.8 kB / 0.7207 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.4514, allocations: 52.95 kB / 0.7207 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/0.4514, allocations: 111.4 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.4514, allocations: 26.95 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.4515, allocations: 90.56 kB / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.4515, allocations: 10.08 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.4515, allocations: 20.2 kB / 0.721 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.4515, allocations: 318.7 kB / 0.7213 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.4516, allocations: 26.66 kB / 0.7213 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.4516, allocations: 30.22 kB / 0.7213 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.4517, allocations: 54.25 kB / 0.7214 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4517, allocations: 0 / 0.7214 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.4519, allocations: 88.38 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4519, allocations: 5.375 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4519, allocations: 0 / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4519, allocations: 1.062 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.452, allocations: 15.81 kB / 0.7215 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.452, allocations: 1.25 kB / 0.7215 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.452, allocations: 12.77 kB / 0.7215 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.452, allocations: 5.016 kB / 0.7215 GB, free: 20.59 MB / 0.6355 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 4.324e-05/0.4521, allocations: 115.2 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.4521, allocations: 1.219 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.4521, allocations: 14.77 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4521, allocations: 1.094 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4521, allocations: 0.5625 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4521, allocations: 7.938 kB / 0.7216 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.561e-05/0.4522, allocations: 141.4 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4522, allocations: 0.7031 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.4522, allocations: 15.5 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4522, allocations: 0 / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.4522, allocations: 1.938 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4522, allocations: 1 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4522, allocations: 0.7969 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.4524, allocations: 184.8 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.4524, allocations: 1.812 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.4524, allocations: 1.188 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.4524, allocations: 7.859 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.4525, allocations: 11.72 kB / 0.722 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.4525, allocations: 6.922 kB / 0.722 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.047e-05/0.4525, allocations: 91.45 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4525, allocations: 0 / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001412/0.4527, allocations: 10.55 kB / 0.7221 GB, free: 20.04 MB / 0.6355 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.000241/0.4529, allocations: 0.716 MB / 0.7228 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4531, allocations: 52.16 kB / 0.7228 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4531, allocations: 0 / 0.7228 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.4531, allocations: 40.88 kB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4533, allocations: 14.47 kB / 0.7229 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.4541, allocations: 1.323 MB / 0.7242 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.4542, allocations: 65.31 kB / 0.7242 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.4542, allocations: 8.406 kB / 0.7243 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.4543, allocations: 22.31 kB / 0.7243 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4543, allocations: 0 / 0.7243 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.4706, allocations: 2.541 MB / 0.7268 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/7.056, allocations: 13.03 kB / 0.7268 GB, free: 17.11 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.783892233041115] Failed to read output from testmodel.py, exit status != 0: 7.137518162024207 7.151768654 6.699062147 Calling exit ...