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.0007127/0.0007127, allocations: 76.45 kB / 19.91 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.0007151/0.0007151, 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.856/0.856, allocations: 177.2 MB / 203.6 MB, free: 5.766 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: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 0.6831/0.6831, allocations: 155 MB / 415 MB, free: 472 kB / 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.0008813/0.0008813, allocations: 71.89 kB / 0.62 GB, free: 12.67 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.4296/0.4305, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00124/0.4318, allocations: 0.6511 MB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005712/0.4323, allocations: 0.8425 MB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.4324, allocations: 5.906 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.4324, allocations: 4.547 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.4325, allocations: 4 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.4326, allocations: 14.5 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.4327, allocations: 24.03 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.4328, allocations: 8.25 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/0.4328, allocations: 10.86 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.4329, allocations: 13.83 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.4329, allocations: 2.844 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.4329, allocations: 6.625 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.4329, allocations: 5.078 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.4329, allocations: 12.05 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.433, allocations: 33.31 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.433, allocations: 0 / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.433, allocations: 0 / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4331, allocations: 0 / 0.7211 GB, free: 22.35 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.0002918/0.4333, allocations: 267.1 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4334, allocations: 11.03 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.4335, allocations: 2.703 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.26e-05/0.4335, allocations: 110.2 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.4335, allocations: 5.406 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.4335, allocations: 1.75 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4336, allocations: 57.45 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.4337, allocations: 192 / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4337, allocations: 4.688 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4337, allocations: 1.156 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.4338, allocations: 33.11 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.434, allocations: 193.5 kB / 0.7218 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.434, allocations: 44.84 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.4341, allocations: 19.17 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4341, allocations: 4.781 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.4341, allocations: 36.25 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4341, allocations: 3.984 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.4343, allocations: 80.95 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.4343, allocations: 52.31 kB / 0.722 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.4344, allocations: 101.9 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.4344, allocations: 29.64 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.4344, allocations: 81.77 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4344, allocations: 13.64 kB / 0.7222 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.4345, allocations: 13.72 kB / 0.7223 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.457e-05/0.4345, allocations: 316.5 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.4345, allocations: 18.27 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.4346, allocations: 18.67 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.4346, allocations: 36.58 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4346, allocations: 1.031 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.498e-05/0.4347, allocations: 75.2 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.4347, allocations: 4.75 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4347, allocations: 0.7969 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4348, allocations: 5.406 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.4348, allocations: 11.48 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.4348, allocations: 2.078 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.4348, allocations: 5.719 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4348, allocations: 0.5625 kB / 0.7227 GB, free: 20.86 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 2.975e-05/0.4349, allocations: 111 kB / 0.7228 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.4349, allocations: 5.062 kB / 0.7228 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.435, allocations: 80.84 kB / 0.7229 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.435, allocations: 0 / 0.7229 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.435, allocations: 1.094 kB / 0.7229 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.435, allocations: 0 / 0.7229 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.2e-05/0.4351, allocations: 105.1 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.4351, allocations: 0 / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.4351, allocations: 8.906 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4351, allocations: 3.938 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.4351, allocations: 5.062 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4351, allocations: 4.641 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.4351, allocations: 1.219 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.4352, allocations: 159.9 kB / 0.7232 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.4352, allocations: 16.98 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.4352, allocations: 2.062 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.4353, allocations: 6.062 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4353, allocations: 2.719 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4353, allocations: 4 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.445e-05/0.4353, allocations: 80.05 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4353, allocations: 1.062 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001351/0.4355, allocations: 11.44 kB / 0.7233 GB, free: 20.32 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 6.915e-05/0.4355, allocations: 92.67 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.4356, allocations: 43.83 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.4356, allocations: 0 / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.4357, allocations: 16.69 kB / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.4359, allocations: 10.31 kB / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.4361, allocations: 137.2 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.4361, allocations: 63.7 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.4361, allocations: 10.78 kB / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/0.4361, allocations: 0 / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.001356/0.4375, allocations: 0.5581 MB / 0.7242 GB, free: 19.95 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.24469899199903] Failed to read output from testmodel.py, exit status != 0: 0.4426024660933763 0.45087762699999995 0.01619682 Calling exit ...