Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.0008145/0.0008145, 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.0008276/0.0008276, 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.8954/0.8954, 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.7174/0.7174, allocations: 154.9 MB / 414.2 MB, free: 0.4961 MB / 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.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",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.001075/0.001075, allocations: 70 kB / 0.6187 GB, free: 13.2 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.4771/0.4782, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001654/0.4798, allocations: 0.9825 MB / 0.7192 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.4811, allocations: 1.033 MB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4812, allocations: 3.656 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.4813, allocations: 23.12 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.4814, allocations: 19.75 kB / 0.7203 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4817, allocations: 77.47 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.4819, allocations: 176.4 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.4821, allocations: 67.44 kB / 0.7206 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.4823, allocations: 108.1 kB / 0.7207 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4824, allocations: 70.25 kB / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.4824, allocations: 16.5 kB / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.4825, allocations: 19.95 kB / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.4825, allocations: 37.7 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.4826, allocations: 61.59 kB / 0.7209 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.4829, allocations: 214.2 kB / 0.7211 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4829, allocations: 0 / 0.7211 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4829, allocations: 0 / 0.7211 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4829, allocations: 5.125 kB / 0.7211 GB, free: 21.32 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006227/0.4835, allocations: 423.3 kB / 0.7215 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4835, allocations: 10.53 kB / 0.7215 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.4836, allocations: 55.98 kB / 0.7216 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.4837, allocations: 19.84 kB / 0.7216 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4839, allocations: 169.5 kB / 0.7218 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4839, allocations: 15.16 kB / 0.7218 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.484, allocations: 15.3 kB / 0.7218 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4842, allocations: 176 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4842, allocations: 0.5156 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4842, allocations: 9.406 kB / 0.722 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4842, allocations: 4 kB / 0.722 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.4844, allocations: 106.4 kB / 0.7221 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.4851, allocations: 486.7 kB / 0.7225 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.4855, allocations: 141.5 kB / 0.7227 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4856, allocations: 82.31 kB / 0.7227 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.4856, allocations: 7.359 kB / 0.7228 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.4858, allocations: 144.3 kB / 0.7229 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.4858, allocations: 0 / 0.7229 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0004164/0.4862, allocations: 229.8 kB / 0.7231 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4862, allocations: 54.38 kB / 0.7232 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4864, allocations: 158.1 kB / 0.7233 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4864, allocations: 31.14 kB / 0.7233 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.4864, allocations: 119.6 kB / 0.7235 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4865, allocations: 65.66 kB / 0.7235 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4865, allocations: 43.52 kB / 0.7236 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.4866, allocations: 323.3 kB / 0.7239 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4867, allocations: 66.47 kB / 0.7239 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4868, allocations: 86.53 kB / 0.724 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.487, allocations: 154.2 kB / 0.7242 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.487, allocations: 0 / 0.7242 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003122/0.4873, allocations: 216.9 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4874, allocations: 5.172 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4874, allocations: 1.156 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4874, allocations: 1.125 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4875, allocations: 38.3 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4875, allocations: 5.594 kB / 0.7244 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.4876, allocations: 29.94 kB / 0.7244 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4876, allocations: 4.656 kB / 0.7245 GB, free: 18.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.47e-05/0.4877, allocations: 135.3 kB / 0.7246 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.4877, allocations: 16.83 kB / 0.7246 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.488, allocations: 191 kB / 0.7248 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.488, allocations: 6.125 kB / 0.7248 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.488, allocations: 1.656 kB / 0.7248 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4881, allocations: 0.7031 kB / 0.7248 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.4887, allocations: 0.5348 MB / 0.7253 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4887, allocations: 2.781 kB / 0.7253 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4888, allocations: 37 kB / 0.7253 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.4888, allocations: 10.92 kB / 0.7254 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4888, allocations: 8.078 kB / 0.7254 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4888, allocations: 10.78 kB / 0.7254 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4888, allocations: 1.312 kB / 0.7254 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.4892, allocations: 372.5 kB / 0.7257 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.4892, allocations: 23.66 kB / 0.7258 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4893, allocations: 11.97 kB / 0.7258 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.4893, allocations: 21.42 kB / 0.7258 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.4894, allocations: 22.73 kB / 0.7258 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4894, allocations: 6.188 kB / 0.7258 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.4895, allocations: 118.7 kB / 0.7259 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4895, allocations: 0 / 0.7259 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001867/0.4897, allocations: 36.2 kB / 0.726 GB, free: 17.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0005355/0.4902, allocations: 0.9219 MB / 0.7269 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.4905, allocations: 154.8 kB / 0.727 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4905, allocations: 0 / 0.727 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4906, allocations: 89.3 kB / 0.7271 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4909, allocations: 30.47 kB / 0.7271 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4927, allocations: 2.135 MB / 0.7292 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.4928, allocations: 111.5 kB / 0.7293 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.4929, allocations: 19.17 kB / 0.7293 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.493, allocations: 53.11 kB / 0.7294 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.493, allocations: 0 / 0.7294 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.5162, allocations: 4.387 MB / 0.7337 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.404, allocations: 5.156 kB / 0.7337 GB, free: 14.19 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.211627712007612] Failed to read output from testmodel.py, exit status != 0: 7.483155853929929 7.492847762 7.008110671 Calling exit ...