Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0009985/0.0009985, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001203/0.001203, allocations: 177 kB / 23.36 MB, free: 1.129 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.028/1.028, 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.7881/0.7881, allocations: 154.9 MB / 415.1 MB, free: 208 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.337e-05, allocations: 2.969 kB / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001866/0.001889, allocations: 0.6687 MB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.00309, allocations: 0.853 MB / 481.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.003127, allocations: 5.562 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.003159, allocations: 5.188 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.003242, allocations: 1.203 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.003446, allocations: 15.92 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.003531, allocations: 24.75 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.003623, allocations: 11.98 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.003719, allocations: 18.05 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.003762, allocations: 0.7656 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.00378, allocations: 5.688 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.003829, allocations: 4 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.00385, allocations: 9.297 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.00387, allocations: 4.656 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.00398, allocations: 22.31 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003982, allocations: 0 / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003983, allocations: 0 / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003987, allocations: 1 kB / 482.1 MB, free: 4.859 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.0003811/0.004368, allocations: 233.8 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.00441, allocations: 13.25 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.004522, allocations: 9.281 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.004624, allocations: 105.8 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.004636, allocations: 384 / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.004648, allocations: 6.375 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.004767, allocations: 58.88 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.004776, allocations: 1.125 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.004784, allocations: 1.219 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004791, allocations: 1.031 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.004818, allocations: 9.125 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.005055, allocations: 148.3 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.108e-05/0.005106, allocations: 18.58 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.005122, allocations: 5.484 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.005145, allocations: 9.75 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.005169, allocations: 31.66 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.005171, allocations: 3.062 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.005301, allocations: 37.73 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.00534, allocations: 55.34 kB / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.005408, allocations: 106.7 kB / 482.9 MB, free: 3.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.00542, allocations: 25.7 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.005457, allocations: 88.12 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.005474, allocations: 3.953 kB / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.005505, allocations: 14.59 kB / 483 MB, free: 3.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.005596, allocations: 314.8 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.005606, allocations: 1.656 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.005615, allocations: 7.953 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.005645, allocations: 13.5 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005647, allocations: 0.5 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.152e-05/0.005708, allocations: 34.39 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.00572, allocations: 4 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005725, allocations: 1.328 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.005739, allocations: 8.609 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.005814, allocations: 11.94 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005816, allocations: 0.625 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.00584, allocations: 4.875 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005845, allocations: 0 / 483.4 MB, free: 3.363 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 5.986e-05/0.005905, allocations: 114.3 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.005928, allocations: 6.031 kB / 483.5 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.006005, allocations: 45.92 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006006, allocations: 0 / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006009, allocations: 3.938 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006013, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006126, allocations: 62.81 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006127, allocations: 0 / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.006166, allocations: 12.58 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.006171, allocations: 4 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006176, allocations: 2.734 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006177, allocations: 0.9688 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006178, allocations: 0.5469 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.006271, allocations: 144.7 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.006281, allocations: 11.89 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.006289, allocations: 0 / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.006342, allocations: 1.188 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.00637, allocations: 8.75 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006373, allocations: 0 / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.522e-05/0.006388, allocations: 16.78 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006388, allocations: 1.812 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.006596, allocations: 8 kB / 483.9 MB, free: 2.891 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 7.877e-05/0.006675, allocations: 72.42 kB / 483.9 MB, free: 2.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.036e-05/0.006735, allocations: 17.53 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.006737, allocations: 1.578 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.006754, allocations: 8.859 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.006919, allocations: 8.906 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.007151, allocations: 106.2 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.007185, allocations: 52.23 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.007202, allocations: 5.094 kB / 484.1 MB, free: 2.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.007247, allocations: 52.77 kB / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007247, allocations: 0 / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of Templates: time 0.002099/0.009346, allocations: 456.2 kB / 484.6 MB, free: 2.098 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.713205689098686]