Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.0007324/0.0007324, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007989/0.0007989, 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.9377/0.9377, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7274/0.7274, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [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.001278/0.001278, allocations: 72.02 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.4807/0.482, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001348/0.4834, allocations: 0.6502 MB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.484, allocations: 0.8391 MB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.4841, allocations: 4 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4841, allocations: 6.281 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.4842, allocations: 7.938 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.4843, allocations: 14.67 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.4844, allocations: 19.55 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.4845, allocations: 12.62 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.4846, allocations: 10.83 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.4846, allocations: 13.88 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4846, allocations: 6.812 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.545e-05/0.4847, allocations: 6.594 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.4847, allocations: 1.219 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.4847, allocations: 16 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.4848, allocations: 24.02 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4848, allocations: 0 / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4848, allocations: 4.594 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4848, allocations: 0 / 0.7211 GB, free: 22.39 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.0003033/0.4851, allocations: 265.4 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4852, allocations: 9.875 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.4853, allocations: 3.859 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.4853, allocations: 110.1 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4853, allocations: 9.469 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.4853, allocations: 1.719 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4855, allocations: 53.75 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4855, allocations: 192 / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4855, allocations: 3.938 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4855, allocations: 1.797 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.4856, allocations: 36.69 kB / 0.7216 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.4858, allocations: 185.7 kB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.4859, allocations: 40.89 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.4859, allocations: 27.77 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.486, allocations: 3.938 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.486, allocations: 33.53 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.486, allocations: 3.938 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.4862, allocations: 79.75 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.4862, allocations: 56.28 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.4863, allocations: 101.7 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/0.4863, allocations: 25.7 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.4863, allocations: 82.78 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.4863, allocations: 8.594 kB / 0.7222 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.4863, allocations: 17.53 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.4864, allocations: 313.3 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.4864, allocations: 13.88 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.4865, allocations: 22.72 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.4866, allocations: 41.25 kB / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4866, allocations: 0 / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001285/0.4867, allocations: 70.97 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4867, allocations: 5.328 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4867, allocations: 1.281 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4867, allocations: 4.797 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.4868, allocations: 12.98 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4868, allocations: 0 / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.4868, allocations: 6.469 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4868, allocations: 1.062 kB / 0.7227 GB, free: 20.9 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.658e-05/0.4869, allocations: 115.6 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.4869, allocations: 6.781 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.487, allocations: 78.73 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.487, allocations: 0.75 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.487, allocations: 1.125 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.487, allocations: 3.984 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.858e-05/0.4871, allocations: 104.7 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4871, allocations: 0 / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.4871, allocations: 9.156 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4871, allocations: 5.062 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.4871, allocations: 0 / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4871, allocations: 6.25 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4871, allocations: 0 / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.4873, allocations: 167 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.4873, allocations: 9.781 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.4873, allocations: 2.031 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.4873, allocations: 5.812 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.4874, allocations: 2.469 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4874, allocations: 1.156 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.4874, allocations: 84.62 kB / 0.7233 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4874, allocations: 0 / 0.7233 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001449/0.4875, allocations: 7.438 kB / 0.7233 GB, free: 20.36 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.0001049/0.4876, allocations: 93.02 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.4878, allocations: 34.95 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4878, allocations: 0 / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.4878, allocations: 25.11 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.488, allocations: 11.44 kB / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.4883, allocations: 115 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.4883, allocations: 59.09 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.4883, allocations: 1.062 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.4884, allocations: 14.14 kB / 0.7236 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4884, allocations: 1.219 kB / 0.7236 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.002026/0.4904, allocations: 467.9 kB / 0.7241 GB, free: 19.98 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282548649003729] Failed to read output from testmodel.py, exit status != 0: 0.4966439619893208 0.506682439 0.019834248000000002 Calling exit ...