Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008254/0.0008254, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008473/0.0008473, allocations: 162.3 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.9409/0.9409, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7696/0.7696, allocations: 154.9 MB / 414.2 MB, free: 492 kB / 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.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_dev_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.001031/0.001031, allocations: 64.41 kB / 0.6186 GB, free: 13.26 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4817, allocations: 102 MB / 0.7182 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001532/0.4832, allocations: 0.6774 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.4839, allocations: 0.8595 MB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.4839, allocations: 1.031 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.484, allocations: 4 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.484, allocations: 5.703 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.4842, allocations: 26.84 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.4843, allocations: 48.42 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4844, allocations: 14.62 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.4845, allocations: 26.39 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.4845, allocations: 25.16 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.4846, allocations: 3.5 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.4846, allocations: 4.469 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.4846, allocations: 15.23 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.4846, allocations: 18.34 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.4847, allocations: 55.33 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4847, allocations: 0 / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.554e-06/0.4848, allocations: 0 / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4848, allocations: 0 / 0.72 GB, free: 21.99 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.0003983/0.4852, allocations: 284.6 kB / 0.7202 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4852, allocations: 10.09 kB / 0.7202 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.4852, allocations: 37.47 kB / 0.7203 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.4853, allocations: 11.77 kB / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.739e-05/0.4853, allocations: 106.4 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4854, allocations: 7.891 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4854, allocations: 5.406 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4855, allocations: 72.5 kB / 0.7205 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.4855, allocations: 0 / 0.7205 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4855, allocations: 1.312 kB / 0.7205 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4855, allocations: 1.344 kB / 0.7205 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4857, allocations: 51.52 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.486, allocations: 251 kB / 0.7208 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4862, allocations: 65.67 kB / 0.7208 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.4863, allocations: 34.31 kB / 0.7208 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4863, allocations: 1.125 kB / 0.7208 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4863, allocations: 40.23 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4863, allocations: 0 / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002996/0.4866, allocations: 110.8 kB / 0.721 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4866, allocations: 52.66 kB / 0.721 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.4867, allocations: 107.4 kB / 0.7211 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.4867, allocations: 25.7 kB / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.4867, allocations: 91.83 kB / 0.7213 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4868, allocations: 9.672 kB / 0.7213 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.4868, allocations: 20.75 kB / 0.7213 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.4868, allocations: 321.2 kB / 0.7216 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.4869, allocations: 23.58 kB / 0.7216 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.487, allocations: 34.12 kB / 0.7216 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.4871, allocations: 51.48 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4871, allocations: 0 / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.4872, allocations: 88.45 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4873, allocations: 5.125 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4873, allocations: 1.156 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4873, allocations: 0 / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4874, allocations: 17.55 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4874, allocations: 0 / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.4874, allocations: 15.42 kB / 0.7218 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4874, allocations: 5.734 kB / 0.7218 GB, free: 20.34 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 5.298e-05/0.4875, allocations: 117.7 kB / 0.7219 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.4875, allocations: 3.125 kB / 0.7219 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.4875, allocations: 9.797 kB / 0.7219 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4875, allocations: 1.281 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4875, allocations: 0 / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4875, allocations: 4.688 kB / 0.722 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.4876, allocations: 144.2 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4876, allocations: 1.641 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.4877, allocations: 12.16 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4877, allocations: 1.062 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4877, allocations: 2.141 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4877, allocations: 0.5625 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4877, allocations: 0 / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.4879, allocations: 181.2 kB / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.4879, allocations: 2.859 kB / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.4879, allocations: 7.938 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.4879, allocations: 6.828 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.488, allocations: 12.09 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.488, allocations: 5.781 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.488, allocations: 88.09 kB / 0.7224 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.488, allocations: 3.938 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001442/0.4882, allocations: 10.52 kB / 0.7224 GB, free: 19.79 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.0002965/0.4885, allocations: 0.7115 MB / 0.7231 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4887, allocations: 56.22 kB / 0.7232 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4887, allocations: 0 / 0.7232 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.4887, allocations: 33.88 kB / 0.7232 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.489, allocations: 7.953 kB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.4901, allocations: 1.324 MB / 0.7245 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.4901, allocations: 65.91 kB / 0.7246 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.4902, allocations: 3.281 kB / 0.7246 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.4902, allocations: 27.27 kB / 0.7246 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of SimCode: time 4e-07/0.4902, allocations: 0 / 0.7246 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.5065, allocations: 2.54 MB / 0.7271 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/7.174, allocations: 9.625 kB / 0.7271 GB, free: 16.87 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.133215846028179] Failed to read output from testmodel.py, exit status != 0: 7.252774330088869 7.26344937 6.776815472 Calling exit ...