Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008477/0.0008477, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009724/0.0009724, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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 0.9536/0.9536, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7603/0.7603, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009347/0.0009347, allocations: 63.22 kB / 0.719 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4749, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001361/0.4763, allocations: 0.6362 MB / 0.8192 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.4769, allocations: 0.8505 MB / 0.82 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.477, allocations: 1.062 kB / 0.82 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.477, allocations: 4.453 kB / 0.82 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.4771, allocations: 6.109 kB / 0.82 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.4772, allocations: 33.98 kB / 0.8201 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.4773, allocations: 45 kB / 0.8201 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4774, allocations: 10.34 kB / 0.8201 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.4775, allocations: 18.75 kB / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.4775, allocations: 29.12 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.4776, allocations: 4.125 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.4776, allocations: 2.562 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.4776, allocations: 8.156 kB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.4776, allocations: 19.89 kB / 0.8202 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.4777, allocations: 45.25 kB / 0.8203 GB, free: 384 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4777, allocations: 4.703 kB / 0.8203 GB, free: 380 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4777, allocations: 0 / 0.8203 GB, free: 380 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.4777, allocations: 3.938 kB / 0.8203 GB, free: 376 kB / 0.6042 GB 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.0003644/0.4781, allocations: 279.3 kB / 0.8205 GB, free: 96 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4781, allocations: 6.688 kB / 0.8205 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.4782, allocations: 3.781 kB / 0.8205 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.4783, allocations: 117.6 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4783, allocations: 384 / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4783, allocations: 6.156 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.4784, allocations: 74.84 kB / 0.8207 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4784, allocations: 2.562 kB / 0.8207 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4785, allocations: 4.641 kB / 0.8207 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4785, allocations: 0 / 0.8207 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4786, allocations: 47.36 kB / 0.8208 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.4789, allocations: 219.8 kB / 0.821 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.479, allocations: 69.02 kB / 0.8211 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.4791, allocations: 36.86 kB / 0.8211 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4791, allocations: 5.922 kB / 0.8211 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4791, allocations: 31.12 kB / 0.8211 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4791, allocations: 2 kB / 0.8211 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002749/0.4794, allocations: 112 kB / 0.8212 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4794, allocations: 57.75 kB / 0.8213 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.4795, allocations: 105.3 kB / 0.8214 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4795, allocations: 25.7 kB / 0.8214 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4796, allocations: 91.08 kB / 0.8215 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4796, allocations: 14.58 kB / 0.8215 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.4796, allocations: 19.72 kB / 0.8215 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.4797, allocations: 317.8 kB / 0.8218 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.4798, allocations: 22.89 kB / 0.8219 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.4798, allocations: 24.94 kB / 0.8219 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.4799, allocations: 48.44 kB / 0.8219 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4799, allocations: 4.594 kB / 0.8219 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.4801, allocations: 91.81 kB / 0.822 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4801, allocations: 5.219 kB / 0.822 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4801, allocations: 2.344 kB / 0.822 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4801, allocations: 3.938 kB / 0.822 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.4802, allocations: 12.66 kB / 0.822 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4802, allocations: 0 / 0.822 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.4802, allocations: 12.77 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4802, allocations: 4.75 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB 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 5.834e-05/0.4803, allocations: 116.1 kB / 0.8222 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.4803, allocations: 2 kB / 0.8222 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.4803, allocations: 6.312 kB / 0.8222 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.4803, allocations: 0.5625 kB / 0.8222 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4803, allocations: 2.375 kB / 0.8222 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4803, allocations: 0.6094 kB / 0.8222 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.4804, allocations: 115.2 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4804, allocations: 3.938 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.4805, allocations: 12.05 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4805, allocations: 4.656 kB / 0.8223 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4805, allocations: 3 kB / 0.8223 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4805, allocations: 0 / 0.8223 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4805, allocations: 3.938 kB / 0.8223 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4807, allocations: 181.5 kB / 0.8225 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.4807, allocations: 7.984 kB / 0.8225 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4807, allocations: 4.859 kB / 0.8225 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.4807, allocations: 9.109 kB / 0.8225 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.4808, allocations: 15.86 kB / 0.8225 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4808, allocations: 0.6562 kB / 0.8225 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.4808, allocations: 83.36 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4808, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001461/0.481, allocations: 11.12 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB 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 6.999e-05/0.481, allocations: 94.5 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.4812, allocations: 62.08 kB / 0.8228 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4812, allocations: 4 kB / 0.8228 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/0.4813, allocations: 24.97 kB / 0.8228 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4815, allocations: 12.05 kB / 0.8228 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.4818, allocations: 158.6 kB / 0.823 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.4818, allocations: 70.94 kB / 0.823 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.4819, allocations: 14.5 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4819, allocations: 0 / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.001806/0.4837, allocations: 0.8049 MB / 0.8238 GB, free: 13.88 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.560163557995111] Failed to read output from testmodel.py, exit status != 0: 0.4893184690736234 0.499842951 0.020158918 Calling exit ...