Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0007372/0.0007372, allocations: 76.45 kB / 19.91 MB, free: 4 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.0007438/0.0007438, allocations: 165.9 kB / 23.18 MB, free: 1.375 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.8142/0.8142, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6837/0.6837, allocations: 155 MB / 415 MB, free: 15.99 MB / 394.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001321/0.001321, allocations: 67.88 kB / 0.6199 GB, free: 12.66 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.406/0.4074, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00122/0.4086, allocations: 0.6062 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005834/0.4092, allocations: 0.843 MB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.4092, allocations: 1.25 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.4092, allocations: 3.938 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.4093, allocations: 5.656 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.4094, allocations: 8.922 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.4095, allocations: 16.58 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.4095, allocations: 7.25 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4096, allocations: 17.42 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.4097, allocations: 13.23 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.4097, allocations: 5 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.4097, allocations: 4.219 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.4097, allocations: 4.562 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.4097, allocations: 11 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/0.4098, allocations: 20.69 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4098, allocations: 1.75 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4098, allocations: 0 / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4098, allocations: 0 / 0.7211 GB, free: 22.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002589/0.4101, allocations: 253.2 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4101, allocations: 11.09 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.806e-05/0.4102, allocations: 18.98 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.665e-05/0.4103, allocations: 106 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4103, allocations: 5.562 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.4103, allocations: 384 / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.4104, allocations: 41 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.4104, allocations: 192 / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.4104, allocations: 7.875 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4104, allocations: 0 / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.4105, allocations: 16.38 kB / 0.7215 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.945e-05/0.4105, allocations: 110.3 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.4106, allocations: 22.5 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.4106, allocations: 15.22 kB / 0.7216 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.4106, allocations: 0 / 0.7216 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.4106, allocations: 32 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4106, allocations: 3.984 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.4108, allocations: 60.25 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.4108, allocations: 52.69 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.891e-05/0.4108, allocations: 106.7 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.4108, allocations: 25.7 kB / 0.7219 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.4109, allocations: 82.22 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4109, allocations: 5.969 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.4109, allocations: 15.48 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.633e-05/0.4109, allocations: 313.3 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.4109, allocations: 7.141 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.411, allocations: 6.25 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.411, allocations: 25.91 kB / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.411, allocations: 0 / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.233e-05/0.411, allocations: 50.36 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4111, allocations: 6.547 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.4111, allocations: 0 / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4111, allocations: 3.938 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.4111, allocations: 4.984 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.4111, allocations: 1.906 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.4111, allocations: 2.578 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4111, allocations: 0.5625 kB / 0.7224 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 (1): * Single equations (assignments): 1 * 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.378e-05/0.4112, allocations: 112.2 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.4112, allocations: 1.25 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.4112, allocations: 9.312 kB / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4112, allocations: 4.734 kB / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4112, allocations: 0 / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4112, allocations: 0 / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.685e-05/0.4112, allocations: 110.9 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4112, allocations: 1.75 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.4113, allocations: 3.312 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.4113, allocations: 5.031 kB / 0.7226 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4113, allocations: 4.656 kB / 0.7226 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4113, allocations: 1 kB / 0.7226 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4113, allocations: 4.781 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.4113, allocations: 76.36 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.4113, allocations: 6.188 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.4113, allocations: 1.547 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.4114, allocations: 6.359 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.4114, allocations: 5.812 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.4114, allocations: 1.891 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.4114, allocations: 88.69 kB / 0.7228 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4114, allocations: 0 / 0.7228 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001183/0.4115, allocations: 2.375 kB / 0.7228 GB, free: 20.6 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 (1): * Single equations (assignments): 1 * 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.746e-05/0.4116, allocations: 93.78 kB / 0.7229 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.4117, allocations: 22.03 kB / 0.7229 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4117, allocations: 1.031 kB / 0.7229 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.4117, allocations: 6.766 kB / 0.7229 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.4118, allocations: 5.5 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.412, allocations: 138.6 kB / 0.7231 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.412, allocations: 58.38 kB / 0.7231 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.412, allocations: 10.2 kB / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.412, allocations: 0 / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.001219/0.4132, allocations: 484.4 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.266568358056247] Failed to read output from testmodel.py, exit status != 0: 0.41876193997450173 0.42572769600000004 0.014233388000000001 Calling exit ...