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.0008081/0.0008081, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00104/0.00104, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9654/0.9654, allocations: 177.1 MB / 202.8 MB, free: 5.73 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7206/0.7206, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.66e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001455/0.001472, allocations: 0.9949 MB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002521, allocations: 1.03 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.002638, allocations: 4 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.002765, allocations: 23.73 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.002813, allocations: 15.81 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.00309, allocations: 83.17 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.003238, allocations: 176.1 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.00338, allocations: 56.5 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003487, allocations: 107.8 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.003557, allocations: 59.78 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.00358, allocations: 16 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.442e-05/0.003624, allocations: 19.94 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.003654, allocations: 43.83 kB / 0.6207 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.003695, allocations: 55.83 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.003884, allocations: 191.3 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003886, allocations: 4 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003887, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.00389, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 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.0005484/0.004439, allocations: 422.3 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.004476, allocations: 13.47 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.004514, allocations: 50.73 kB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.004585, allocations: 20.84 kB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.0048, allocations: 166 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.004817, allocations: 16.38 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.004842, allocations: 16.38 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.005072, allocations: 175.8 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005081, allocations: 192 / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.005097, allocations: 11.94 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005103, allocations: 3.984 kB / 0.6218 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.00527, allocations: 111.8 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.005951, allocations: 479.3 kB / 0.6223 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.006207, allocations: 130.7 kB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.006307, allocations: 82.69 kB / 0.6225 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.006328, allocations: 8 kB / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.006485, allocations: 144.9 kB / 0.6227 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.006486, allocations: 0 / 0.6227 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0003346/0.006821, allocations: 227.6 kB / 0.6229 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.006849, allocations: 59.41 kB / 0.623 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.006946, allocations: 165.8 kB / 0.6231 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.006963, allocations: 29.7 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.007018, allocations: 116.5 kB / 0.6233 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.00706, allocations: 67.42 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.007106, allocations: 37.7 kB / 0.6234 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.007194, allocations: 326.8 kB / 0.6237 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.007306, allocations: 67.95 kB / 0.6237 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.007432, allocations: 88.92 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.007631, allocations: 152.6 kB / 0.624 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007634, allocations: 0 / 0.624 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002798/0.007913, allocations: 213.4 kB / 0.6242 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007928, allocations: 8 kB / 0.6242 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007933, allocations: 0 / 0.6242 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.007946, allocations: 0 / 0.6242 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.008047, allocations: 47.95 kB / 0.6242 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008053, allocations: 3.984 kB / 0.6242 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.008119, allocations: 23.88 kB / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.008136, allocations: 11.94 kB / 0.6243 GB, free: 7.184 MB / 0.5886 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 7.837e-05/0.008214, allocations: 130.7 kB / 0.6244 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.008228, allocations: 15.91 kB / 0.6244 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.008478, allocations: 192.7 kB / 0.6246 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00848, allocations: 4 kB / 0.6246 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008484, allocations: 0 / 0.6246 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.008487, allocations: 0 / 0.6246 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.008969, allocations: 0.5337 MB / 0.6251 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008971, allocations: 4.031 kB / 0.6251 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.009062, allocations: 43.91 kB / 0.6252 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.009065, allocations: 4 kB / 0.6252 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.009076, allocations: 4 kB / 0.6252 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.00908, allocations: 7.938 kB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.009082, allocations: 4 kB / 0.6252 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.00943, allocations: 384.3 kB / 0.6255 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.009448, allocations: 23.88 kB / 0.6256 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009467, allocations: 11.94 kB / 0.6256 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.009542, allocations: 15.98 kB / 0.6256 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.009588, allocations: 23.91 kB / 0.6256 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.009598, allocations: 7.984 kB / 0.6256 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.467e-05/0.009652, allocations: 124.1 kB / 0.6257 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009653, allocations: 3.938 kB / 0.6257 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000188/0.009841, allocations: 28 kB / 0.6258 GB, free: 5.52 MB / 0.5886 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.0005065/0.01035, allocations: 0.9151 MB / 0.6267 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.0106, allocations: 159.2 kB / 0.6268 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.0106, allocations: 0 / 0.6268 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01071, allocations: 79.97 kB / 0.6269 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01094, allocations: 19.98 kB / 0.6269 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.01262, allocations: 2.134 MB / 0.629 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.933e-05/0.01269, allocations: 116.3 kB / 0.6291 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.01274, allocations: 13.67 kB / 0.6291 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.01282, allocations: 60.45 kB / 0.6292 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.01282, allocations: 0 / 0.6292 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.03155, allocations: 4.359 MB / 0.6334 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.02, allocations: 2.031 kB / 0.6334 GB, free: 13.65 MB / 0.6042 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: 9.896115369163454] Failed to read output from testmodel.py, exit status != 0: 7.102948233485222 7.111669028 7.106095469 Calling exit ...