Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007317/0.0007317, 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.00083/0.00083, 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.893/0.893, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.6918/0.6918, 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.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_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.001381/0.001381, allocations: 67.19 kB / 0.6184 GB, free: 13.57 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.4421/0.4434, allocations: 102 MB / 0.718 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001626/0.4451, allocations: 0.9943 MB / 0.7189 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4461, allocations: 1.026 MB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.4462, allocations: 2.844 kB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.4464, allocations: 19.69 kB / 0.7199 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.4464, allocations: 15.75 kB / 0.72 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.4467, allocations: 81.5 kB / 0.72 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.4469, allocations: 176.8 kB / 0.7202 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.447, allocations: 67.31 kB / 0.7203 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.4471, allocations: 111.8 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.4472, allocations: 74.61 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.4473, allocations: 16.62 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.4473, allocations: 18.31 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.4474, allocations: 41.56 kB / 0.7205 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.4474, allocations: 58.11 kB / 0.7206 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4477, allocations: 214.7 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4477, allocations: 4 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4477, allocations: 0 / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4477, allocations: 1.062 kB / 0.7208 GB, free: 21.46 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.0006443/0.4483, allocations: 426.8 kB / 0.7212 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4484, allocations: 10.38 kB / 0.7212 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.4484, allocations: 46.81 kB / 0.7213 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.4485, allocations: 20.2 kB / 0.7213 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.4488, allocations: 170.2 kB / 0.7214 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.4488, allocations: 11.09 kB / 0.7214 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.4488, allocations: 19.16 kB / 0.7215 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.449, allocations: 177.6 kB / 0.7216 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4491, allocations: 0.5156 kB / 0.7216 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4491, allocations: 9.406 kB / 0.7216 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4491, allocations: 6.812 kB / 0.7216 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.4492, allocations: 113 kB / 0.7218 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.4499, allocations: 484.1 kB / 0.7222 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.4502, allocations: 129 kB / 0.7223 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4503, allocations: 87.48 kB / 0.7224 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.4504, allocations: 2.656 kB / 0.7224 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.4505, allocations: 142.5 kB / 0.7226 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4505, allocations: 0 / 0.7226 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.000378/0.4509, allocations: 223.2 kB / 0.7228 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.4509, allocations: 58.19 kB / 0.7228 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.451, allocations: 163.3 kB / 0.723 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.451, allocations: 31.11 kB / 0.723 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.4511, allocations: 113.4 kB / 0.7231 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4511, allocations: 72.14 kB / 0.7232 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.4511, allocations: 39.25 kB / 0.7232 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.4512, allocations: 327.7 kB / 0.7235 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4513, allocations: 66.12 kB / 0.7236 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.4514, allocations: 89.34 kB / 0.7237 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4516, allocations: 151.3 kB / 0.7238 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4516, allocations: 0 / 0.7238 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002771/0.4519, allocations: 212.9 kB / 0.724 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4519, allocations: 5.688 kB / 0.724 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4519, allocations: 0 / 0.724 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4519, allocations: 1.562 kB / 0.724 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.452, allocations: 49.69 kB / 0.7241 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4521, allocations: 1.281 kB / 0.7241 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.4521, allocations: 26.94 kB / 0.7241 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4521, allocations: 9.469 kB / 0.7241 GB, free: 19.12 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 6.967e-05/0.4522, allocations: 131.4 kB / 0.7243 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4522, allocations: 19.56 kB / 0.7243 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.4525, allocations: 195 kB / 0.7245 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4525, allocations: 2.031 kB / 0.7245 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4525, allocations: 0 / 0.7245 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4525, allocations: 6.078 kB / 0.7245 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.453, allocations: 0.5305 MB / 0.725 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.453, allocations: 3.203 kB / 0.725 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.4531, allocations: 36.19 kB / 0.725 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4531, allocations: 6.312 kB / 0.725 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4531, allocations: 8.094 kB / 0.725 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4531, allocations: 3.031 kB / 0.725 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4531, allocations: 6.266 kB / 0.725 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.4535, allocations: 380.8 kB / 0.7254 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.4535, allocations: 27.19 kB / 0.7254 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4535, allocations: 8.703 kB / 0.7254 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.4536, allocations: 13.98 kB / 0.7255 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.4537, allocations: 21.05 kB / 0.7255 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.4537, allocations: 7.656 kB / 0.7255 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.4537, allocations: 117.7 kB / 0.7256 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4537, allocations: 0 / 0.7256 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001809/0.4539, allocations: 40.95 kB / 0.7256 GB, free: 18.07 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.000441/0.4544, allocations: 0.9174 MB / 0.7265 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.4546, allocations: 151.3 kB / 0.7267 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4546, allocations: 0 / 0.7267 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.4547, allocations: 88 kB / 0.7268 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.455, allocations: 33.62 kB / 0.7268 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4566, allocations: 2.144 MB / 0.7289 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.501e-05/0.4567, allocations: 114.8 kB / 0.729 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.4567, allocations: 16.11 kB / 0.729 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.4568, allocations: 56.62 kB / 0.7291 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.4568, allocations: 0 / 0.7291 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.4748, allocations: 4.364 MB / 0.7333 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/7.175, allocations: 15 kB / 0.7333 GB, free: 14.34 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.938919617095962] Failed to read output from testmodel.py, exit status != 0: 7.253944213036448 7.263930554 6.814092291 Calling exit ...