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.000782/0.000782, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008811/0.0008811, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9359/0.9359, allocations: 230.6 MB / 256 MB, free: 9.648 MB / 202.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.783/0.783, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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.0009007/0.0009007, allocations: 61.53 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4797, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001772/0.4815, allocations: 1.003 MB / 0.8188 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.4824, allocations: 1.033 MB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.4825, allocations: 3.469 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.4826, allocations: 18.7 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.4827, allocations: 19.8 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.483, allocations: 84.59 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.4831, allocations: 178.8 kB / 0.8201 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.4833, allocations: 59.44 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.4834, allocations: 71.33 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.4835, allocations: 74.42 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4835, allocations: 15.59 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.4835, allocations: 19.34 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.4836, allocations: 36.45 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.4836, allocations: 68.05 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.4839, allocations: 189.1 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.4839, allocations: 1.75 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4839, allocations: 0 / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4839, allocations: 0 / 0.8206 GB, free: 15.21 MB / 0.6198 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.0006375/0.4845, allocations: 431.3 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4846, allocations: 9.719 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.4846, allocations: 51.02 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.4847, allocations: 19.92 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.4849, allocations: 168.6 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4849, allocations: 12.78 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.485, allocations: 22.05 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4852, allocations: 175.1 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.4852, allocations: 3.938 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4852, allocations: 8.672 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4852, allocations: 0.5625 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.4854, allocations: 111.9 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.4861, allocations: 480.4 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.4863, allocations: 143.2 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4864, allocations: 79.06 kB / 0.8223 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4864, allocations: 2.875 kB / 0.8223 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4866, allocations: 146.9 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.4866, allocations: 0 / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0003429/0.4869, allocations: 222.7 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.487, allocations: 58.42 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4871, allocations: 162.4 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4871, allocations: 31.89 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.4871, allocations: 121.4 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.4872, allocations: 64.36 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.4872, allocations: 39.16 kB / 0.8231 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.4873, allocations: 328.5 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4874, allocations: 63.58 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4876, allocations: 91.39 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.4878, allocations: 145.7 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4878, allocations: 0 / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002973/0.4881, allocations: 208.3 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4881, allocations: 6.188 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4881, allocations: 4.031 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4881, allocations: 1.438 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4882, allocations: 45.73 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4882, allocations: 1.609 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.4883, allocations: 27.03 kB / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4883, allocations: 5.156 kB / 0.824 GB, free: 12.87 MB / 0.6198 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.999e-05/0.4884, allocations: 134.4 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.4884, allocations: 14.44 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.4886, allocations: 192.2 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4887, allocations: 2.656 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4887, allocations: 0.6094 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4887, allocations: 6.062 kB / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.4892, allocations: 0.5336 MB / 0.8248 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4892, allocations: 6.922 kB / 0.8248 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.4893, allocations: 44.02 kB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4893, allocations: 6.469 kB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4893, allocations: 5.219 kB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4893, allocations: 2.125 kB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4893, allocations: 6.453 kB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.4897, allocations: 389.5 kB / 0.8253 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.4897, allocations: 19.92 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.4897, allocations: 8.25 kB / 0.8253 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.4898, allocations: 13 kB / 0.8253 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.4899, allocations: 31.3 kB / 0.8253 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4899, allocations: 10.53 kB / 0.8253 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.4899, allocations: 117.9 kB / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4899, allocations: 0 / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001758/0.4901, allocations: 40.92 kB / 0.8255 GB, free: 11.8 MB / 0.6198 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.000508/0.4906, allocations: 0.9133 MB / 0.8264 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.4909, allocations: 151.6 kB / 0.8265 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4909, allocations: 4.062 kB / 0.8265 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.491, allocations: 83.78 kB / 0.8266 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.4912, allocations: 30.48 kB / 0.8266 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4931, allocations: 2.116 MB / 0.8287 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.4932, allocations: 118.7 kB / 0.8288 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.408e-05/0.4933, allocations: 14.95 kB / 0.8288 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.4933, allocations: 56.09 kB / 0.8289 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.4933, allocations: 0 / 0.8289 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.5098, allocations: 4.266 MB / 0.8331 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.511, allocations: 1.312 kB / 0.8331 GB, free: 8.113 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 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.327790316194296] Failed to read output from testmodel.py, exit status != 0: 7.588961058296263 7.604134548 7.117439566 Calling exit ...