Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.00229/0.00229, allocations: 93.47 kB / 19.44 MB, free: 336 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.002752/0.002752, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 178] 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 1.372/1.372, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.992e-05, allocations: 3.594 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001794/0.001824, allocations: 0.6511 MB / 0.5206 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.002927, allocations: 0.8168 MB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.002957, allocations: 0.875 kB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.00298, allocations: 3.938 kB / 0.5214 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.003046, allocations: 4.562 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.003204, allocations: 19.91 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.003268, allocations: 21.08 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.003349, allocations: 8 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.003421, allocations: 15.92 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.003452, allocations: 4.5 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.003466, allocations: 0.8438 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.003508, allocations: 12 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.003522, allocations: 5.203 kB / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.003545, allocations: 7.938 kB / 0.5215 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003655, allocations: 27.89 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.00366, allocations: 3.984 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.003661, allocations: 0.5 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003665, allocations: 1.781 kB / 0.5215 GB, free: 0.6641 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.0004735/0.004139, allocations: 352.4 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004177, allocations: 12.03 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.004284, allocations: 12.83 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.004417, allocations: 114.3 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.004429, allocations: 384 / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.004438, allocations: 4.375 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.004594, allocations: 50.17 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.004603, allocations: 192 / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.004611, allocations: 1.875 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.004615, allocations: 384 / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.004728, allocations: 23.92 kB / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.005118, allocations: 248.6 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.005238, allocations: 44.5 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.005301, allocations: 19.73 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.00532, allocations: 0 / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.00536, allocations: 38.73 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.005361, allocations: 0 / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.005654, allocations: 74.28 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.005698, allocations: 51.41 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.005824, allocations: 165.1 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.005845, allocations: 25.7 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.005925, allocations: 130.9 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.005948, allocations: 15.88 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.005988, allocations: 19.38 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005375/0.006526, allocations: 492.1 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.006587, allocations: 15.98 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.006632, allocations: 8 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.006732, allocations: 28.73 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006733, allocations: 0.6875 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001491/0.006882, allocations: 58.44 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.0069, allocations: 9.453 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.006907, allocations: 3.938 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.006921, allocations: 0 / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.006996, allocations: 7.938 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.006999, allocations: 0.9375 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.007035, allocations: 4 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00704, allocations: 0 / 0.5234 GB, free: 14.48 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 0.0001179/0.007157, allocations: 163.4 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.00718, allocations: 0 / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.007363, allocations: 60.94 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007365, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.00737, allocations: 7.984 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007373, allocations: 0 / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.007549, allocations: 115.4 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.00755, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.007597, allocations: 7.984 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007599, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.007609, allocations: 4 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.007613, allocations: 7.938 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007614, allocations: 3.938 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.007862, allocations: 200.7 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007871, allocations: 5.203 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007883, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.007954, allocations: 12.78 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.007996, allocations: 3.984 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.007999, allocations: 3.938 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.365e-05/0.008083, allocations: 128.7 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008083, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002052/0.008288, allocations: 4 kB / 0.5241 GB, free: 13.7 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 0.0001475/0.008435, allocations: 97.62 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.008614, allocations: 43.61 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008615, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.008682, allocations: 22.39 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.008934, allocations: 4 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.009263, allocations: 122.3 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.009346, allocations: 63.33 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.009368, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.009403, allocations: 13.34 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.009404, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003119/0.01252, allocations: 487.1 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.056789210997522]