Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.0007835/0.0007835, 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.0008495/0.0008495, 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.8745/0.8745, 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.7019/0.7019, allocations: 154.7 MB / 413.9 MB, free: 0.7305 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.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",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.001007/0.001007, allocations: 63.91 kB / 0.6183 GB, free: 13.59 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.4456/0.4466, allocations: 102 MB / 0.7179 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001307/0.4479, allocations: 0.7397 MB / 0.7186 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.4486, allocations: 0.8912 MB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.4486, allocations: 1.188 kB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4487, allocations: 5.531 kB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.4488, allocations: 9.547 kB / 0.7195 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.4489, allocations: 47.62 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.449, allocations: 82.73 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4491, allocations: 25.59 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.4492, allocations: 58.84 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.4493, allocations: 41.55 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4493, allocations: 7.25 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.4493, allocations: 8.5 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.4493, allocations: 22.67 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.4493, allocations: 30.64 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.4495, allocations: 99.78 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4495, allocations: 1.844 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4495, allocations: 3.938 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.4495, allocations: 4 kB / 0.7199 GB, free: 21.96 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004082/0.4499, allocations: 318.5 kB / 0.7202 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4499, allocations: 9.469 kB / 0.7202 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.487e-05/0.4499, allocations: 38.45 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.45, allocations: 8.172 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.45, allocations: 125.7 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4501, allocations: 3.906 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.4501, allocations: 11.72 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.4502, allocations: 108.6 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.4503, allocations: 1.062 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4503, allocations: 0.6094 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4503, allocations: 2.156 kB / 0.7205 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.4505, allocations: 97.94 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.4508, allocations: 294.3 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.4512, allocations: 119.6 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.4513, allocations: 57.88 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4513, allocations: 1.156 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.4513, allocations: 36.41 kB / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.4513, allocations: 1.125 kB / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003776/0.4517, allocations: 181.9 kB / 0.7213 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4517, allocations: 57.42 kB / 0.7213 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.4518, allocations: 119.6 kB / 0.7214 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-06/0.4518, allocations: 26.89 kB / 0.7215 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.4518, allocations: 93.47 kB / 0.7216 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.4518, allocations: 28.12 kB / 0.7216 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.4518, allocations: 23.88 kB / 0.7216 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.819e-05/0.4519, allocations: 322.7 kB / 0.7219 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.452, allocations: 49.09 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.4521, allocations: 43.89 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4522, allocations: 101.2 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4522, allocations: 4 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002164/0.4525, allocations: 136 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.4525, allocations: 5 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.4525, allocations: 80 / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4525, allocations: 1.062 kB / 0.7222 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.4526, allocations: 28.42 kB / 0.7223 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4526, allocations: 11.92 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.4526, allocations: 12.75 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4526, allocations: 3.469 kB / 0.7223 GB, free: 20.18 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.485e-05/0.4527, allocations: 123.1 kB / 0.7224 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.4527, allocations: 7.578 kB / 0.7224 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4529, allocations: 153.3 kB / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4529, allocations: 1.188 kB / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.453, allocations: 5.859 kB / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.453, allocations: 0 / 0.7226 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.4531, allocations: 160.9 kB / 0.7227 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4531, allocations: 0 / 0.7227 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.4531, allocations: 28.75 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4531, allocations: 1.5 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4531, allocations: 1.266 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4531, allocations: 0.8438 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4531, allocations: 9.094 kB / 0.7228 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.4534, allocations: 232.1 kB / 0.723 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.4534, allocations: 11.2 kB / 0.723 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4534, allocations: 1.156 kB / 0.723 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.4534, allocations: 15.92 kB / 0.723 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.4535, allocations: 21.98 kB / 0.723 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4535, allocations: 12.22 kB / 0.723 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.4536, allocations: 96.5 kB / 0.7231 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4536, allocations: 3.938 kB / 0.7231 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000151/0.4537, allocations: 11.91 kB / 0.7232 GB, free: 19.52 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000354/0.4541, allocations: 0.7636 MB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.4543, allocations: 111.2 kB / 0.724 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4543, allocations: 0 / 0.724 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4544, allocations: 54.94 kB / 0.7241 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4546, allocations: 13.98 kB / 0.7241 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.4558, allocations: 1.537 MB / 0.7256 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.4558, allocations: 81.98 kB / 0.7256 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.4559, allocations: 7.844 kB / 0.7257 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.4559, allocations: 36.91 kB / 0.7257 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4559, allocations: 0 / 0.7257 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.474, allocations: 3.473 MB / 0.7291 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.197, allocations: 12.39 kB / 0.7291 GB, free: 16.43 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min_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_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.908090307959355] Failed to read output from testmodel.py, exit status != 0: 7.274356500944123 7.284410286 6.833277619 Calling exit ...