Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001131/0.001131, 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.001696/0.001696, allocations: 165.9 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.9814/0.9814, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7768/0.7768, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001158/0.001158, allocations: 72.39 kB / 0.6196 GB, free: 13.07 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.5591/0.5603, 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.Cos): time 0.00154/0.5618, allocations: 0.654 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.5627, allocations: 0.8511 MB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.5628, allocations: 0 / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.5628, allocations: 0.6562 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.5629, allocations: 5.094 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.5631, allocations: 14.92 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.5632, allocations: 24.34 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.5634, allocations: 7.516 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.5635, allocations: 16.48 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.5635, allocations: 13.09 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.5635, allocations: 1.375 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.5636, allocations: 11.48 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.5636, allocations: 4.656 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.5637, allocations: 8.516 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.5638, allocations: 31.77 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5638, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5638, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5638, allocations: 0 / 0.7208 GB, free: 22.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004239/0.5642, allocations: 265.5 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5643, allocations: 9.531 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.5644, allocations: 4.547 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.5645, allocations: 117.4 kB / 0.7211 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5645, allocations: 384 / 0.7211 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.5645, allocations: 2.625 kB / 0.7211 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.5647, allocations: 48.48 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5647, allocations: 5.312 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5647, allocations: 4.547 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.5647, allocations: 0 / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5648, allocations: 32.67 kB / 0.7212 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.5651, allocations: 194.7 kB / 0.7214 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.5652, allocations: 36.86 kB / 0.7215 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.5652, allocations: 19.03 kB / 0.7215 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.5653, allocations: 5.031 kB / 0.7215 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5653, allocations: 40.27 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5653, allocations: 0 / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002442/0.5655, allocations: 80.62 kB / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.5656, allocations: 52.47 kB / 0.7216 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.5656, allocations: 101.7 kB / 0.7217 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.5656, allocations: 25.7 kB / 0.7218 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.5656, allocations: 82.05 kB / 0.7218 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.5657, allocations: 13.67 kB / 0.7219 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.5657, allocations: 12.48 kB / 0.7219 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.5657, allocations: 317.1 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.5658, allocations: 18.19 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.5658, allocations: 23.5 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.5659, allocations: 36.84 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5659, allocations: 0 / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001102/0.566, allocations: 74.84 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.566, allocations: 5.562 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.566, allocations: 5.344 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.566, allocations: 0 / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.5661, allocations: 8.875 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5661, allocations: 1.219 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.5661, allocations: 6.266 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.5661, allocations: 1.25 kB / 0.7223 GB, free: 21.04 MB / 0.6355 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 3.797e-05/0.5662, allocations: 112.7 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.5662, allocations: 9.641 kB / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.5663, allocations: 80.73 kB / 0.7225 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5664, allocations: 0 / 0.7225 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5664, allocations: 4 kB / 0.7225 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5664, allocations: 1.797 kB / 0.7225 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.054e-05/0.5664, allocations: 103.8 kB / 0.7226 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5664, allocations: 0.6094 kB / 0.7226 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.5665, allocations: 12.27 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5665, allocations: 5.031 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5665, allocations: 0 / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5665, allocations: 6.016 kB / 0.7227 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5665, allocations: 0 / 0.7227 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.5666, allocations: 160.1 kB / 0.7228 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.5666, allocations: 13.75 kB / 0.7228 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.5666, allocations: 0.7031 kB / 0.7228 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.5666, allocations: 5.625 kB / 0.7228 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.5667, allocations: 3.078 kB / 0.7228 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.5667, allocations: 1.25 kB / 0.7228 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.5667, allocations: 83.86 kB / 0.7229 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5667, allocations: 0 / 0.7229 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001412/0.5669, allocations: 3.531 kB / 0.7229 GB, free: 20.5 MB / 0.6355 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.0001074/0.567, allocations: 97.7 kB / 0.723 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.5671, allocations: 38.98 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5671, allocations: 3.938 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.5672, allocations: 20.53 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.5674, allocations: 7.953 kB / 0.7231 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.5677, allocations: 111.5 kB / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.5678, allocations: 58.83 kB / 0.7232 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.5678, allocations: 1.781 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.5678, allocations: 9.625 kB / 0.7233 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.5678, allocations: 0 / 0.7233 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.002126/0.5699, allocations: 470.7 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.550059387926012] Failed to read output from testmodel.py, exit status != 0: 0.576531735016033 0.585522867 0.019796737000000002 Calling exit ...