Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001317/0.001317, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001638/0.001638, allocations: 164.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.176/1.176, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.665e-05, allocations: 7.312 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001731/0.001767, allocations: 0.6026 MB / 0.6191 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003015, allocations: 0.8475 MB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.003057, allocations: 4.812 kB / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.003085, allocations: 0 / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.003155, allocations: 7.938 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.003323, allocations: 19.91 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.003415, allocations: 27.92 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.00352, allocations: 4 kB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.003609, allocations: 23.92 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.003666, allocations: 7.984 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.003685, allocations: 0 / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003698, allocations: 4 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.003722, allocations: 7.984 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003747, allocations: 8 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.003844, allocations: 27.83 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003847, allocations: 4 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003848, allocations: 0 / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.003853, allocations: 0 / 0.6201 GB, free: 2.992 MB / 0.5294 GB 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.000507/0.00436, allocations: 262.3 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.004402, allocations: 8.031 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.00444, allocations: 8.891 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.004585, allocations: 109.8 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.004608, allocations: 384 / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.004621, allocations: 4.375 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.004816, allocations: 54.23 kB / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.004825, allocations: 192 / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004835, allocations: 384 / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.00484, allocations: 384 / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.005025, allocations: 43.83 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.005435, allocations: 196.6 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.005588, allocations: 38.56 kB / 0.6208 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.005689, allocations: 28.89 kB / 0.6208 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.00571, allocations: 0 / 0.6208 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.00575, allocations: 34.56 kB / 0.6209 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.005751, allocations: 0 / 0.6209 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.006143, allocations: 89.52 kB / 0.6209 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.006196, allocations: 51.41 kB / 0.621 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.006305, allocations: 109.8 kB / 0.6211 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.006327, allocations: 29.83 kB / 0.6211 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.006382, allocations: 84.09 kB / 0.6212 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.006401, allocations: 7.938 kB / 0.6212 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.006437, allocations: 13.72 kB / 0.6212 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.006607, allocations: 314.8 kB / 0.6215 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.006698, allocations: 19.98 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.006775, allocations: 19.92 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.006947, allocations: 44.88 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006949, allocations: 3.938 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.007164, allocations: 69.61 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.007181, allocations: 8 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.007197, allocations: 7.875 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.007214, allocations: 0 / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.007318, allocations: 7.984 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.007325, allocations: 8.031 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.007375, allocations: 0 / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.007383, allocations: 7.984 kB / 0.6217 GB, free: 1.164 MB / 0.5294 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 (reaToInt.y) * 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 9.571e-05/0.007479, allocations: 114.8 kB / 0.6218 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.007504, allocations: 4 kB / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.007529, allocations: 7.25 kB / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007531, allocations: 0 / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.007536, allocations: 0 / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007539, allocations: 0 / 0.6218 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.007695, allocations: 105.3 kB / 0.6219 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.007698, allocations: 8 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.007766, allocations: 11.98 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007768, allocations: 3.938 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.007775, allocations: 0 / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.007778, allocations: 3.938 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007779, allocations: 0 / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.008087, allocations: 163.5 kB / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.008094, allocations: 0 / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.008112, allocations: 8.031 kB / 0.6221 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.008196, allocations: 7.922 kB / 0.6221 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.008263, allocations: 11.98 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.008267, allocations: 0 / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.008317, allocations: 79.28 kB / 0.6222 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.008317, allocations: 0 / 0.6222 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002205/0.008537, allocations: 7.953 kB / 0.6222 GB, free: 0.582 MB / 0.5294 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 (reaToInt.y) * 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.0001396/0.008677, allocations: 99.25 kB / 0.6223 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.008934, allocations: 43.89 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008936, allocations: 0 / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.009039, allocations: 27.97 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.009343, allocations: 0 / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.009707, allocations: 104.8 kB / 0.6225 GB, free: 280 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.615e-05/0.009794, allocations: 67.28 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.009824, allocations: 8.062 kB / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.009865, allocations: 12.5 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.009865, allocations: 0 / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of Templates: time 0.003253/0.01312, allocations: 0.6514 MB / 0.6232 GB, free: 15.54 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.702246285974979] Failed to read output from testmodel.py, exit status != 0: 0.022223390638828278 0.038001357 0.030897653 Calling exit ...