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.0006856/0.0006856, 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.001244/0.001244, 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.9529/0.9529, allocations: 177.2 MB / 203.6 MB, free: 5.793 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.7069/0.7069, allocations: 154.9 MB / 414.9 MB, free: 0.5 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.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.0009047/0.0009047, allocations: 69.22 kB / 0.6199 GB, free: 12.71 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.4871/0.488, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001508/0.4895, allocations: 0.6462 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.4903, allocations: 0.8447 MB / 0.721 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.4904, allocations: 4 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.4904, allocations: 1.062 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.4905, allocations: 4.734 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.4907, allocations: 17.98 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.4908, allocations: 27.44 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4909, allocations: 3.578 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.491, allocations: 15.67 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.491, allocations: 14.11 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.491, allocations: 2.469 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.4911, allocations: 4.156 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.4911, allocations: 5.547 kB / 0.7211 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.4911, allocations: 11.83 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.4912, allocations: 27.64 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4912, allocations: 1.281 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4912, allocations: 0 / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4912, allocations: 0 / 0.7211 GB, free: 22.4 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.000326/0.4916, allocations: 264.4 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4916, allocations: 10.78 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.4917, allocations: 3.234 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.95e-05/0.4917, allocations: 117.8 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4918, allocations: 5.438 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4918, allocations: 2.172 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4919, allocations: 49.47 kB / 0.7215 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4919, allocations: 192 / 0.7215 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4919, allocations: 4.938 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4919, allocations: 0 / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.492, allocations: 36.97 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.4923, allocations: 189.8 kB / 0.7217 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.4924, allocations: 37.28 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.4924, allocations: 23.03 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4924, allocations: 5.062 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.4925, allocations: 36.08 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.4925, allocations: 0 / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.4927, allocations: 84.22 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.4927, allocations: 52.47 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.4928, allocations: 101.8 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.4928, allocations: 25.7 kB / 0.7221 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.4928, allocations: 83.38 kB / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4928, allocations: 13.66 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.4928, allocations: 15.91 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.4929, allocations: 313.2 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.4929, allocations: 21.78 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.493, allocations: 18.59 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.519e-05/0.4931, allocations: 41.22 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4931, allocations: 1.125 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.4932, allocations: 71.53 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4932, allocations: 5.406 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4932, allocations: 0 / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4932, allocations: 4.094 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.4933, allocations: 9.109 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4933, allocations: 1.219 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.4933, allocations: 6.75 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.4933, allocations: 4 kB / 0.7227 GB, free: 20.91 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.747e-05/0.4933, allocations: 112.7 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.4933, allocations: 5 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.4935, allocations: 84.05 kB / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4935, allocations: 1.281 kB / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4935, allocations: 0 / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4935, allocations: 4.828 kB / 0.7229 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.839e-05/0.4936, allocations: 99.55 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4936, allocations: 1.766 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.4936, allocations: 12.84 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4936, allocations: 3.938 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.4936, allocations: 1 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4936, allocations: 0.5156 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4936, allocations: 4.031 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.4937, allocations: 165.2 kB / 0.7232 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.4937, allocations: 9.203 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.4937, allocations: 0.5625 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.4938, allocations: 6.406 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4938, allocations: 6.484 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.4938, allocations: 1.156 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.708e-05/0.4938, allocations: 80.23 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4938, allocations: 4.031 kB / 0.7233 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001394/0.494, allocations: 8.406 kB / 0.7233 GB, free: 20.38 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 8.589e-05/0.4941, allocations: 93 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4942, allocations: 34.66 kB / 0.7234 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.4942, allocations: 0 / 0.7234 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.4943, allocations: 24.08 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.4945, allocations: 9.781 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.4947, allocations: 114.9 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.4947, allocations: 60.14 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.4947, allocations: 1.703 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4948, allocations: 13.66 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4948, allocations: 0 / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.00195/0.4967, allocations: 470 kB / 0.724 GB, free: 19.99 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1401636749506] Failed to read output from testmodel.py, exit status != 0: 0.5023391550639644 0.512911269 0.01987093599999994 Calling exit ...