Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.00131/0.00131, allocations: 75.25 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001414/0.001414, allocations: 167.4 kB / 22.43 MB, free: 5.309 MB / 14.72 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 1.413/1.413, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.182/1.182, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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 178] 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [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.002304/0.002304, allocations: 70.48 kB / 0.6192 GB, free: 4.113 MB / 0.5294 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.5349/0.5372, allocations: 102 MB / 0.7188 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001689/0.5389, allocations: 0.6651 MB / 0.7194 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000781/0.5396, allocations: 0.8432 MB / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.5397, allocations: 0.9688 kB / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.5397, allocations: 0.75 kB / 0.7203 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.5398, allocations: 5.031 kB / 0.7203 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.54, allocations: 10.27 kB / 0.7203 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.54, allocations: 25.08 kB / 0.7203 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.5401, allocations: 6.484 kB / 0.7203 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.5402, allocations: 19.7 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.5402, allocations: 10.17 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5403, allocations: 5.25 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.5403, allocations: 7.578 kB / 0.7204 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.5403, allocations: 9.812 kB / 0.7204 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.5403, allocations: 6.938 kB / 0.7204 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.5404, allocations: 29.45 kB / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5404, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5404, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5404, allocations: 0 / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003765/0.5408, allocations: 266.1 kB / 0.7207 GB, free: 412 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5409, allocations: 13.22 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.541, allocations: 3.031 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.541, allocations: 114 kB / 0.7208 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5411, allocations: 1.656 kB / 0.7208 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.5411, allocations: 2.203 kB / 0.7208 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.5412, allocations: 48.52 kB / 0.7208 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5412, allocations: 1.5 kB / 0.7208 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5412, allocations: 4.547 kB / 0.7208 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5413, allocations: 3.938 kB / 0.7208 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.5414, allocations: 40.64 kB / 0.7209 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.5417, allocations: 189.8 kB / 0.7211 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5418, allocations: 32.89 kB / 0.7211 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5419, allocations: 27.97 kB / 0.7211 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.5419, allocations: 9.297 kB / 0.7211 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.542, allocations: 32.56 kB / 0.7212 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.542, allocations: 3.938 kB / 0.7212 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.5423, allocations: 83.62 kB / 0.7212 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5424, allocations: 52.97 kB / 0.7213 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.5425, allocations: 100.4 kB / 0.7214 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5425, allocations: 26.92 kB / 0.7214 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.5425, allocations: 82.38 kB / 0.7215 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.5426, allocations: 8.688 kB / 0.7215 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.5426, allocations: 17.12 kB / 0.7215 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5427, allocations: 313 kB / 0.7218 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.5428, allocations: 18.22 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.5429, allocations: 18.62 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.5431, allocations: 41.5 kB / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5431, allocations: 0 / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.5433, allocations: 74.94 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5433, allocations: 5.5 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5433, allocations: 1.562 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5433, allocations: 0.6094 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.5434, allocations: 8.219 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5434, allocations: 1.375 kB / 0.722 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.5435, allocations: 9.531 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.5435, allocations: 1.062 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.031e-05/0.5436, allocations: 114.3 kB / 0.7221 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.5436, allocations: 8.672 kB / 0.7221 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5438, allocations: 79.7 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5438, allocations: 0.6562 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5438, allocations: 1.438 kB / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5438, allocations: 0 / 0.7222 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.544, allocations: 99.95 kB / 0.7223 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.544, allocations: 0 / 0.7223 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.544, allocations: 9.266 kB / 0.7223 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.544, allocations: 9.375 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.544, allocations: 0 / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.544, allocations: 0.6562 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.544, allocations: 5.344 kB / 0.7223 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.5443, allocations: 163.7 kB / 0.7225 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.5443, allocations: 13.92 kB / 0.7225 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5443, allocations: 0 / 0.7225 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.5444, allocations: 7.703 kB / 0.7225 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.5445, allocations: 9.25 kB / 0.7225 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.5445, allocations: 1.438 kB / 0.7225 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.5445, allocations: 79.52 kB / 0.7226 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5445, allocations: 1.156 kB / 0.7226 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002088/0.5447, allocations: 2.812 kB / 0.7226 GB, free: 14.64 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000116/0.5448, allocations: 93.41 kB / 0.7227 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.545, allocations: 39.2 kB / 0.7227 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5451, allocations: 4.062 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.5451, allocations: 25.25 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5454, allocations: 5.359 kB / 0.7227 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.5457, allocations: 111.9 kB / 0.7228 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.5458, allocations: 60.41 kB / 0.7229 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.887e-05/0.5458, allocations: 0.7969 kB / 0.7229 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.5458, allocations: 14.75 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.5458, allocations: 4.062 kB / 0.7229 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.002851/0.5487, allocations: 471.2 kB / 0.7234 GB, free: 14.25 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.041626920923591] Failed to read output from testmodel.py, exit status != 0: 0.5574827250093222 0.571982094 0.028562613 Calling exit ...