Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001057/0.001057, 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.001724/0.001724, 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7718/0.7718, allocations: 154.9 MB / 415.1 MB, free: 248 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.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.714e-05, allocations: 4.922 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00138/0.001407, allocations: 0.6547 MB / 481 MB, free: 5.953 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.002273, allocations: 0.8816 MB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.002321, allocations: 0 / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.002357, allocations: 6.094 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.002462, allocations: 5.141 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.00264, allocations: 23.92 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.002745, allocations: 46.17 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.002865, allocations: 15.97 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.002994, allocations: 21.62 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.003069, allocations: 22.45 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.003099, allocations: 5.344 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.003113, allocations: 4 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.003141, allocations: 14.17 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.003172, allocations: 10.08 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003292, allocations: 39.03 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.003296, allocations: 1.5 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.003298, allocations: 0 / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.003305, allocations: 1.094 kB / 482.1 MB, free: 4.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003991/0.003704, allocations: 251.9 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.003739, allocations: 12.53 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.003767, allocations: 5.594 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.003847, allocations: 109.8 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.003866, allocations: 5.625 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003878, allocations: 7.141 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003994, allocations: 58.94 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004001, allocations: 11.19 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.004009, allocations: 4.375 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004014, allocations: 1.141 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.004043, allocations: 15.92 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.004275, allocations: 164.2 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.004341, allocations: 34.56 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.004358, allocations: 13.42 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.00437, allocations: 0 / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004391, allocations: 39.45 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.004392, allocations: 1.203 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001095/0.004502, allocations: 50.5 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.00453, allocations: 51.41 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.004582, allocations: 115.7 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.00459, allocations: 25.7 kB / 483 MB, free: 3.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.004619, allocations: 84.75 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.004634, allocations: 15.84 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.004693, allocations: 22.33 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.004765, allocations: 319.6 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.004779, allocations: 8.562 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.004791, allocations: 8.609 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.004826, allocations: 21.38 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.004829, allocations: 4 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.406e-05/0.004883, allocations: 42.19 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004893, allocations: 4.594 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004896, allocations: 1.469 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.004908, allocations: 3.938 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.004985, allocations: 17.7 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004988, allocations: 0 / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.005011, allocations: 4 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005016, allocations: 0 / 483.6 MB, free: 3.238 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: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.368e-05/0.00508, allocations: 119.3 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.005093, allocations: 0 / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.005112, allocations: 5 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.005115, allocations: 7.938 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005117, allocations: 0.75 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005119, allocations: 0 / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.561e-05/0.005205, allocations: 77.88 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005206, allocations: 1.188 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.005239, allocations: 16.86 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.00524, allocations: 1.062 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005246, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.005247, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005248, allocations: 0.625 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.157e-05/0.005339, allocations: 148.3 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.005347, allocations: 7.953 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.005355, allocations: 0 / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.005387, allocations: 5.094 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.005425, allocations: 15.92 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.005429, allocations: 4 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.005442, allocations: 18.78 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005442, allocations: 0 / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001096/0.005552, allocations: 4 kB / 484 MB, free: 2.773 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: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001392/0.005691, allocations: 77.48 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.005753, allocations: 20.84 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.005755, allocations: 0.5625 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.00578, allocations: 28.77 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.005905, allocations: 12.61 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.006125, allocations: 130.4 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.878e-05/0.006154, allocations: 55.36 kB / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.00618, allocations: 6.094 kB / 484.3 MB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.006232, allocations: 60.11 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006232, allocations: 0 / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of Templates: time 0.002352/0.008584, allocations: 0.9501 MB / 485.3 MB, free: 1.445 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5720399538986385]