Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001156/0.001156, 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.0014/0.0014, 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.888/0.888, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7028/0.7028, allocations: 154.7 MB / 413.9 MB, free: 0.7266 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.AddParameter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",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.0009469/0.0009469, allocations: 65.33 kB / 0.6183 GB, free: 13.6 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.463/0.464, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001625/0.4656, allocations: 0.6817 MB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.4664, allocations: 0.8591 MB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.4664, allocations: 1.094 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.4665, allocations: 8.594 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.4666, allocations: 9.625 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.4667, allocations: 22.22 kB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.4668, allocations: 40.52 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.467, allocations: 18.25 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.4671, allocations: 30.83 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.4671, allocations: 20.89 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4672, allocations: 4.094 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.4672, allocations: 3.844 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.4672, allocations: 12.66 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.4672, allocations: 22.14 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.4674, allocations: 56.92 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4674, allocations: 3.938 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4674, allocations: 1.094 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4674, allocations: 0 / 0.7196 GB, free: 22.14 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.0004122/0.4678, allocations: 280.2 kB / 0.7199 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4678, allocations: 10.28 kB / 0.7199 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.4679, allocations: 36.84 kB / 0.72 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.4679, allocations: 6.781 kB / 0.72 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.721e-05/0.468, allocations: 112.5 kB / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.468, allocations: 5.438 kB / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.468, allocations: 11.94 kB / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4682, allocations: 63.64 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4682, allocations: 4.781 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4682, allocations: 0 / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4682, allocations: 1.125 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4683, allocations: 47.88 kB / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4687, allocations: 250.5 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.4688, allocations: 74.36 kB / 0.7205 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.4689, allocations: 29.66 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.4689, allocations: 1.062 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4689, allocations: 32.69 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4689, allocations: 0 / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002931/0.4692, allocations: 110.8 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4693, allocations: 52.48 kB / 0.7207 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.4693, allocations: 110.6 kB / 0.7208 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.4693, allocations: 26.77 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.4694, allocations: 91.38 kB / 0.7209 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.4694, allocations: 18.42 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.4694, allocations: 15.44 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.4695, allocations: 322.4 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.4695, allocations: 22.78 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.988e-05/0.4696, allocations: 27.75 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4697, allocations: 54.41 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4697, allocations: 0 / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001648/0.4699, allocations: 87.8 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4699, allocations: 5.312 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4699, allocations: 1.094 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4699, allocations: 0 / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.47, allocations: 22.11 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.47, allocations: 0 / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.4701, allocations: 14.42 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.4701, allocations: 2.859 kB / 0.7215 GB, free: 20.49 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,addPar.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.457e-05/0.4702, allocations: 113.9 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4702, allocations: 2.25 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4702, allocations: 9.797 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4702, allocations: 1.312 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4702, allocations: 0.6562 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4702, allocations: 3.938 kB / 0.7216 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4704, allocations: 148.8 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4704, allocations: 0.6094 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.4704, allocations: 13.27 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4704, allocations: 1.156 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4704, allocations: 0.6562 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4705, allocations: 2.203 kB / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4705, allocations: 0 / 0.7218 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.4706, allocations: 184.8 kB / 0.722 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.4707, allocations: 11.58 kB / 0.722 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4707, allocations: 4.656 kB / 0.722 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.4707, allocations: 6.781 kB / 0.722 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.4708, allocations: 10.97 kB / 0.722 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.4708, allocations: 6 kB / 0.722 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.4709, allocations: 87.47 kB / 0.7221 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4709, allocations: 0 / 0.7221 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001551/0.471, allocations: 15.17 kB / 0.7221 GB, free: 19.93 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 (addPar.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.0003738/0.4714, allocations: 0.7111 MB / 0.7228 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.4716, allocations: 56.27 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4716, allocations: 0.875 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.4717, allocations: 27.91 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.472, allocations: 8.266 kB / 0.7229 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4731, allocations: 1.327 MB / 0.7242 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.4731, allocations: 65.69 kB / 0.7242 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.4732, allocations: 8.188 kB / 0.7243 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4732, allocations: 22.7 kB / 0.7243 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.4732, allocations: 0 / 0.7243 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.4911, allocations: 2.517 MB / 0.7267 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.1, allocations: 18.69 kB / 0.7268 GB, free: 17.03 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter_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_AddParameter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.861139549058862] Failed to read output from testmodel.py, exit status != 0: 7.177836455986835 7.188670588 6.71941967 Calling exit ...