Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.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.001214/0.001214, 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.001391/0.001391, 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.8884/0.8884, 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.7127/0.7127, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",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.0009144/0.0009144, allocations: 67.33 kB / 0.6183 GB, free: 13.64 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.4615/0.4624, allocations: 102 MB / 0.7179 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00142/0.4638, allocations: 0.6764 MB / 0.7185 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.4647, allocations: 0.8598 MB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.4647, allocations: 0 / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.4647, allocations: 5.719 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.4648, allocations: 4.547 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.465, allocations: 30.59 kB / 0.7194 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.4651, allocations: 45.42 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4652, allocations: 14.62 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.4653, allocations: 30.34 kB / 0.7195 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.4653, allocations: 25.45 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.4654, allocations: 8.312 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.4654, allocations: 8.406 kB / 0.7195 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.4654, allocations: 11.17 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.4654, allocations: 14.17 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.4655, allocations: 53.95 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4655, allocations: 0 / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4655, allocations: 0 / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4656, allocations: 1.031 kB / 0.7196 GB, free: 22.11 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.0003668/0.4659, allocations: 279.3 kB / 0.7199 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.466, allocations: 9.562 kB / 0.7199 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.466, allocations: 32.59 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.466, allocations: 7.938 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.4661, allocations: 118.2 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4661, allocations: 7.156 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.4661, allocations: 6.656 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4663, allocations: 65.48 kB / 0.7201 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4663, allocations: 0 / 0.7201 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4663, allocations: 0 / 0.7201 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4663, allocations: 5 kB / 0.7201 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4664, allocations: 57.61 kB / 0.7202 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.4667, allocations: 250.4 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4668, allocations: 66.38 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4669, allocations: 27.78 kB / 0.7205 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.4669, allocations: 1.953 kB / 0.7205 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.4669, allocations: 31.62 kB / 0.7205 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4669, allocations: 1.125 kB / 0.7205 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.00028/0.4672, allocations: 119.1 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4672, allocations: 52.56 kB / 0.7207 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.112e-05/0.4673, allocations: 105.4 kB / 0.7208 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4673, allocations: 29.7 kB / 0.7208 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.4673, allocations: 83.8 kB / 0.7209 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.4673, allocations: 17.59 kB / 0.7209 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.4674, allocations: 15.78 kB / 0.721 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.4674, allocations: 322.4 kB / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.4675, allocations: 27.41 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.4675, allocations: 22.83 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4676, allocations: 56.11 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4676, allocations: 0 / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.4678, allocations: 88.56 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4678, allocations: 8.438 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4678, allocations: 256 / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4678, allocations: 5.547 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.4679, allocations: 24.56 kB / 0.7215 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4679, allocations: 0.7031 kB / 0.7215 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.4679, allocations: 10.8 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4679, allocations: 1.578 kB / 0.7215 GB, free: 20.46 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,abs1.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.54e-05/0.468, allocations: 110.5 kB / 0.7216 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.468, allocations: 9.594 kB / 0.7216 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.468, allocations: 5.672 kB / 0.7216 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.468, allocations: 1.641 kB / 0.7216 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.468, allocations: 4 kB / 0.7216 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.468, allocations: 8.938 kB / 0.7216 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/0.4681, allocations: 136.2 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4681, allocations: 1.125 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.4682, allocations: 16.33 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4682, allocations: 1.969 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4682, allocations: 0.6094 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4682, allocations: 1.562 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4682, allocations: 0.75 kB / 0.7218 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4684, allocations: 192.9 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.4684, allocations: 1.219 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4684, allocations: 1.828 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.4684, allocations: 6.5 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.4685, allocations: 12.06 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.4685, allocations: 5.703 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.4685, allocations: 86.91 kB / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4685, allocations: 0 / 0.7221 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001404/0.4687, allocations: 6.969 kB / 0.7221 GB, free: 19.92 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 (abs1.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.0003005/0.469, allocations: 0.7186 MB / 0.7228 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4691, allocations: 52.81 kB / 0.7228 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4692, allocations: 0 / 0.7228 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.4692, allocations: 38.83 kB / 0.7229 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4695, allocations: 9.766 kB / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.4705, allocations: 1.321 MB / 0.7242 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.4705, allocations: 64.72 kB / 0.7242 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.4706, allocations: 8.156 kB / 0.7242 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.4706, allocations: 21.73 kB / 0.7243 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4706, allocations: 1 kB / 0.7243 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.4886, allocations: 2.515 MB / 0.7267 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/7.078, allocations: 7.188 kB / 0.7267 GB, free: 17 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs_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_Abs.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.838083882001229] Failed to read output from testmodel.py, exit status != 0: 7.155558313941583 7.165583404 6.698097875 Calling exit ...