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.001145/0.001145, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001315/0.001315, allocations: 181 kB / 23.36 MB, free: 1.133 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.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8701/0.8701, allocations: 154.9 MB / 415.1 MB, free: 212 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.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.265e-06/2.265e-06, allocations: 3.984 kB / 480.5 MB, free: 6.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.017e-05, allocations: 7.625 kB / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001214/0.001234, allocations: 0.7113 MB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000696/0.00193, allocations: 0.8267 MB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.001956, allocations: 0 / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.001977, allocations: 5.25 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.002032, allocations: 9.172 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002147, allocations: 12.59 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.002211, allocations: 25.22 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.00227, allocations: 4 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.002334, allocations: 18.52 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.886e-05/0.002363, allocations: 9.188 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.002373, allocations: 0 / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.002423, allocations: 13.05 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.002437, allocations: 4.984 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.212e-05/0.002449, allocations: 0.5469 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.002525, allocations: 29.86 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.002527, allocations: 0 / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002527, allocations: 2.422 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.00253, allocations: 0 / 482.1 MB, free: 4.797 MB / 442.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.0002094/0.00274, allocations: 228.8 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.002767, allocations: 12.03 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.002838, allocations: 6 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.002906, allocations: 117.7 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.002913, allocations: 1.812 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-06/0.002917, allocations: 4.375 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.035e-05/0.002988, allocations: 51.77 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.002993, allocations: 1.031 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.002998, allocations: 4.375 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.003002, allocations: 384 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.003017, allocations: 5.094 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.003181, allocations: 152.3 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.003216, allocations: 27.12 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.003226, allocations: 4.859 kB / 482.7 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.003237, allocations: 5.578 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.003256, allocations: 34.62 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003257, allocations: 0.875 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 7.929e-05/0.003336, allocations: 34.77 kB / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.00336, allocations: 55.34 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.003403, allocations: 105.3 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.003413, allocations: 30.33 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.003436, allocations: 88.62 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.00345, allocations: 8.562 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.003469, allocations: 10.34 kB / 483.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.003537, allocations: 318.8 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.003543, allocations: 0.625 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-06/0.00355, allocations: 5.172 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.668e-05/0.003567, allocations: 9.484 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003569, allocations: 0 / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.531e-05/0.003604, allocations: 38.41 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.003614, allocations: 4.531 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.003616, allocations: 1.359 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.003625, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.003668, allocations: 13 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.00367, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.003685, allocations: 7.984 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.003688, allocations: 2.109 kB / 483.5 MB, free: 3.301 MB / 442.7 MB 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 4.548e-05/0.003734, allocations: 113.8 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.003747, allocations: 0.8125 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.0038, allocations: 44.17 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.003801, allocations: 4.625 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.003804, allocations: 6 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.003805, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.102e-05/0.003876, allocations: 69.88 kB / 483.7 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003877, allocations: 0 / 483.7 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.003893, allocations: 4 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.003894, allocations: 0 / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.003899, allocations: 10.39 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.003901, allocations: 3.938 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003902, allocations: 0 / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.716e-05/0.003959, allocations: 131.5 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.003965, allocations: 4.547 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003972, allocations: 5.312 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.916e-05/0.004001, allocations: 3.984 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.004026, allocations: 1.094 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.004028, allocations: 4 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.045e-06/0.004036, allocations: 9.547 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004036, allocations: 0 / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001079/0.004144, allocations: 5.688 kB / 483.9 MB, free: 2.848 MB / 442.7 MB 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 5.852e-05/0.004202, allocations: 84.41 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.528e-05/0.004248, allocations: 13.92 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.00425, allocations: 4 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.004264, allocations: 9.953 kB / 484 MB, free: 2.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.004379, allocations: 10.84 kB / 484 MB, free: 2.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.004678, allocations: 124.5 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.004706, allocations: 51.36 kB / 484.2 MB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.00472, allocations: 4 kB / 484.2 MB, free: 2.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.466e-05/0.004754, allocations: 48.03 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of SimCode: time 3.4e-07/0.004755, allocations: 0.5938 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of Templates: time 0.001664/0.006418, allocations: 466 kB / 484.7 MB, free: 2.016 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7070099473930895]