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.0008624/0.0008624, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 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.0008101/0.0008101, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.9311/0.9311, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7228/0.7228, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [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.0008911/0.0008911, allocations: 67.91 kB / 0.6199 GB, free: 12.66 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.4735/0.4744, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001817/0.4762, allocations: 0.984 MB / 0.7205 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.4773, allocations: 1.03 MB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4774, allocations: 3 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.4776, allocations: 23.31 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.4776, allocations: 23.84 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.4779, allocations: 77.12 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.4781, allocations: 171.8 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4783, allocations: 67.69 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.4784, allocations: 117.3 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.4785, allocations: 61.83 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.4785, allocations: 17 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.4786, allocations: 17.66 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.4786, allocations: 45.84 kB / 0.7221 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.4787, allocations: 62.42 kB / 0.7221 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4789, allocations: 192.3 kB / 0.7223 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4789, allocations: 0 / 0.7223 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4789, allocations: 0 / 0.7223 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4789, allocations: 0 / 0.7223 GB, free: 21.64 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.0005946/0.4795, allocations: 439.8 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4796, allocations: 11.09 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4797, allocations: 19.44 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.4799, allocations: 165.9 kB / 0.7229 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4799, allocations: 15.53 kB / 0.7229 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.48, allocations: 14.78 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4802, allocations: 185 kB / 0.7231 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4802, allocations: 0 / 0.7231 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4802, allocations: 5.844 kB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4802, allocations: 3.125 kB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.4804, allocations: 110.6 kB / 0.7232 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.4811, allocations: 439.5 kB / 0.7237 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4814, allocations: 133 kB / 0.7238 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4815, allocations: 78.61 kB / 0.7239 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4815, allocations: 3.516 kB / 0.7239 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.4817, allocations: 159.5 kB / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.4817, allocations: 0 / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.000382/0.4821, allocations: 221.9 kB / 0.7242 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.4821, allocations: 57.58 kB / 0.7243 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.4822, allocations: 146.2 kB / 0.7244 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.4822, allocations: 30.98 kB / 0.7245 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.4822, allocations: 120.2 kB / 0.7246 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.4823, allocations: 69.19 kB / 0.7246 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.4823, allocations: 43.86 kB / 0.7247 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.4824, allocations: 327.2 kB / 0.725 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4825, allocations: 65.64 kB / 0.7251 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4826, allocations: 87.31 kB / 0.7251 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.4829, allocations: 144 kB / 0.7253 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4829, allocations: 0 / 0.7253 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002932/0.4831, allocations: 211.7 kB / 0.7255 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4832, allocations: 5.594 kB / 0.7255 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4832, allocations: 1.641 kB / 0.7255 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4832, allocations: 1.125 kB / 0.7255 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4833, allocations: 46.44 kB / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4833, allocations: 0 / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.4834, allocations: 31.08 kB / 0.7256 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4834, allocations: 5.688 kB / 0.7256 GB, free: 19.38 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.92e-05/0.4835, allocations: 141.9 kB / 0.7257 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.4835, allocations: 15.95 kB / 0.7257 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.4838, allocations: 185.9 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4838, allocations: 1.469 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4838, allocations: 2.188 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4838, allocations: 4.797 kB / 0.7259 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.4843, allocations: 0.4982 MB / 0.7264 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4843, allocations: 1.094 kB / 0.7264 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4844, allocations: 42.05 kB / 0.7264 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4844, allocations: 2.406 kB / 0.7264 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4844, allocations: 12.17 kB / 0.7264 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4844, allocations: 2.859 kB / 0.7264 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4844, allocations: 6.828 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.4848, allocations: 381.5 kB / 0.7268 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.4848, allocations: 19.42 kB / 0.7268 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.4848, allocations: 8.281 kB / 0.7268 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.4849, allocations: 16.66 kB / 0.7269 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.485, allocations: 26.81 kB / 0.7269 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.485, allocations: 7.172 kB / 0.7269 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.485, allocations: 109.7 kB / 0.727 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.485, allocations: 3.938 kB / 0.727 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001967/0.4852, allocations: 32.8 kB / 0.727 GB, free: 18.37 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.0001052/0.4853, allocations: 113.4 kB / 0.7271 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.4856, allocations: 161.2 kB / 0.7273 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4856, allocations: 1.125 kB / 0.7273 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4858, allocations: 85.2 kB / 0.7274 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.486, allocations: 17.36 kB / 0.7274 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.4866, allocations: 385.3 kB / 0.7278 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.4867, allocations: 119.2 kB / 0.7279 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.4867, allocations: 18.48 kB / 0.7279 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.4868, allocations: 19.86 kB / 0.7279 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of SimCode: time 5.82e-07/0.4868, allocations: 0 / 0.7279 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.004516/0.4913, allocations: 1.752 MB / 0.7296 GB, free: 17.59 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.243630226003006] Failed to read output from testmodel.py, exit status != 0: 0.4990661139599979 0.509505817 0.028743076000000003 Calling exit ...