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.0009681/0.0009681, allocations: 80.44 kB / 19.91 MB, free: 4 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.001032/0.001032, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9257/0.9257, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7533/0.7533, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008708/0.0008708, allocations: 71.89 kB / 0.6196 GB, free: 13.04 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.4782/0.4791, allocations: 101.9 MB / 0.7192 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001679/0.4808, allocations: 1.002 MB / 0.7202 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.4816, allocations: 1.028 MB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.4817, allocations: 2.719 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.4819, allocations: 19.5 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.4819, allocations: 16.06 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.4822, allocations: 79.66 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4824, allocations: 176.7 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4825, allocations: 67.91 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4826, allocations: 111.8 kB / 0.7216 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.4827, allocations: 66.55 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.4827, allocations: 17.38 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.4828, allocations: 21.34 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.4828, allocations: 42.41 kB / 0.7217 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.4829, allocations: 61.75 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.4831, allocations: 214.6 kB / 0.722 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4831, allocations: 0 / 0.722 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4831, allocations: 0 / 0.722 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4831, allocations: 4 kB / 0.722 GB, free: 21.76 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.0005513/0.4836, allocations: 432.3 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4837, allocations: 8.375 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.4838, allocations: 19.98 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.484, allocations: 166.6 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.484, allocations: 11.09 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.484, allocations: 18.84 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.4842, allocations: 184.6 kB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4843, allocations: 1.062 kB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4843, allocations: 9.25 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4843, allocations: 3.656 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.4844, allocations: 108.3 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.485, allocations: 441.5 kB / 0.7234 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.4853, allocations: 136.7 kB / 0.7235 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4854, allocations: 74.41 kB / 0.7236 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4854, allocations: 3.125 kB / 0.7236 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.4856, allocations: 157.1 kB / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.4856, allocations: 0 / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0003614/0.486, allocations: 221.8 kB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.486, allocations: 58.58 kB / 0.724 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.486, allocations: 144.8 kB / 0.7241 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4861, allocations: 30.83 kB / 0.7241 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.4861, allocations: 116.6 kB / 0.7243 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.4861, allocations: 77.22 kB / 0.7243 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4862, allocations: 43.62 kB / 0.7244 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.4862, allocations: 323 kB / 0.7247 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4863, allocations: 65.55 kB / 0.7247 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4865, allocations: 90.56 kB / 0.7248 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4867, allocations: 151.6 kB / 0.725 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4867, allocations: 0 / 0.725 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002962/0.487, allocations: 211.7 kB / 0.7252 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.487, allocations: 7.703 kB / 0.7252 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.487, allocations: 1.469 kB / 0.7252 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.487, allocations: 1.375 kB / 0.7252 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4871, allocations: 40.55 kB / 0.7252 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4871, allocations: 5.594 kB / 0.7252 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.4872, allocations: 29.81 kB / 0.7253 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4872, allocations: 6.25 kB / 0.7253 GB, free: 19.51 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.95e-05/0.4873, allocations: 134.2 kB / 0.7254 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.4873, allocations: 14.41 kB / 0.7254 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.4876, allocations: 186.8 kB / 0.7256 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4876, allocations: 0.7031 kB / 0.7256 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4876, allocations: 6.062 kB / 0.7256 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.4876, allocations: 16.66 kB / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4876, allocations: 13.12 kB / 0.7256 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.4877, allocations: 16.41 kB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.4877, allocations: 19.39 kB / 0.7257 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003662/0.4881, allocations: 274.8 kB / 0.7259 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000428/0.4885, allocations: 429.6 kB / 0.7263 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001218/0.4887, allocations: 66.36 kB / 0.7264 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.4887, allocations: 109.6 kB / 0.7265 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of Backend: time 5.11e-07/0.4887, allocations: 0 / 0.7265 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.4892, allocations: 174.7 kB / 0.7267 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005331/0.4898, allocations: 0.7559 MB / 0.7274 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.004736/0.4945, allocations: 2.044 MB / 0.7294 GB, free: 17.7 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.349233213113621] Failed to read output from testmodel.py, exit status != 0: 0.4997322140261531 0.50924201 0.024417775000000003 Calling exit ...