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.001463/0.001463, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001632/0.001632, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.103/1.103, allocations: 177.1 MB / 203.8 MB, free: 5.633 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-535:34: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-535:42: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.8187/0.8187, allocations: 154.8 MB / 415.1 MB, free: 500 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: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.5206 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.561e-05, allocations: 6.438 kB / 0.5206 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00171/0.001746, allocations: 0.6714 MB / 0.5213 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002804, allocations: 0.8646 MB / 0.5221 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002837, allocations: 1 kB / 0.5221 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.002861, allocations: 0 / 0.5221 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.002926, allocations: 8.594 kB / 0.5221 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.003104, allocations: 15.92 kB / 0.5222 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.00318, allocations: 28.42 kB / 0.5222 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.003276, allocations: 4.672 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.003351, allocations: 11.98 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.003387, allocations: 13.16 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003403, allocations: 4 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.003447, allocations: 7.984 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.003464, allocations: 4.625 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.003481, allocations: 0 / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003583, allocations: 25.78 kB / 0.5223 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003585, allocations: 3.938 kB / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003586, allocations: 0 / 0.5223 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.00359, allocations: 0 / 0.5223 GB, free: 0.5664 MB / 490.7 MB 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.0003191/0.003909, allocations: 360.6 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.003949, allocations: 13.75 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.004043, allocations: 4.891 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.819e-05/0.004121, allocations: 112.6 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.004136, allocations: 384 / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004143, allocations: 1.844 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.004264, allocations: 54.94 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.00427, allocations: 192 / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.00428, allocations: 4.375 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.004288, allocations: 5.125 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.004317, allocations: 3.938 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.00457, allocations: 241.3 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.004622, allocations: 43.03 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.004643, allocations: 11.67 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.004658, allocations: 1.344 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.004676, allocations: 37.45 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004677, allocations: 0 / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001279/0.004804, allocations: 50.03 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.004829, allocations: 54.78 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.004895, allocations: 157.9 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004903, allocations: 25.7 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.004946, allocations: 134.9 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.004963, allocations: 7.891 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.004988, allocations: 23.36 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.005101, allocations: 496.1 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.005112, allocations: 0 / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.005121, allocations: 4 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.005145, allocations: 12.75 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005147, allocations: 0 / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.878e-05/0.005195, allocations: 46.19 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005207, allocations: 4.875 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005211, allocations: 3.938 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005222, allocations: 5.406 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.005282, allocations: 8 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.005286, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.005301, allocations: 0.9375 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.005308, allocations: 7.984 kB / 0.5241 GB, free: 14.47 MB / 0.4948 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 5.427e-05/0.005362, allocations: 153.7 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.005374, allocations: 0 / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.005448, allocations: 48.94 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005449, allocations: 2.625 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005452, allocations: 3.938 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005454, allocations: 4 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/0.005541, allocations: 124.6 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005542, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.005564, allocations: 4 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005565, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.005571, allocations: 2.75 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.005572, allocations: 3.938 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005573, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.005657, allocations: 188 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.005662, allocations: 0 / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.005671, allocations: 0 / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.005702, allocations: 8.969 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.005734, allocations: 3.984 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005737, allocations: 4 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.005772, allocations: 124.1 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005772, allocations: 3.938 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001352/0.005907, allocations: 4 kB / 0.5248 GB, free: 13.74 MB / 0.4948 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 9.238e-05/0.006, allocations: 92.84 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.48e-05/0.006064, allocations: 20.98 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006066, allocations: 0 / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.006082, allocations: 11.69 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.006254, allocations: 10.44 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.006656, allocations: 122.2 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.006687, allocations: 59.34 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.252e-05/0.006699, allocations: 2.938 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.006724, allocations: 12.5 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/0.006725, allocations: 7.938 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.001729/0.008454, allocations: 464.8 kB / 0.5255 GB, free: 12.9 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.906153518939391]