Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001189/0.001189, allocations: 76.45 kB / 19.9 MB, free: 12 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.00144/0.00144, allocations: 169.9 kB / 23.18 MB, free: 1.379 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 0.9813/0.9813, allocations: 177.2 MB / 203.6 MB, free: 5.746 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7172/0.7172, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 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.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [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.001189/0.001189, allocations: 67.91 kB / 0.6198 GB, free: 12.81 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4783, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001259/0.4796, allocations: 0.6034 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.4805, allocations: 0.8481 MB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.4805, allocations: 0 / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.4805, allocations: 4.453 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.4806, allocations: 9.156 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.4808, allocations: 14.55 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.4809, allocations: 25.78 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.481, allocations: 11.62 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.4811, allocations: 19.45 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.4811, allocations: 11.64 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4811, allocations: 2.375 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.4811, allocations: 2.469 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.4811, allocations: 5.406 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.4812, allocations: 11.5 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.743e-05/0.4813, allocations: 31.45 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4813, allocations: 0.6094 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4813, allocations: 0 / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4813, allocations: 4 kB / 0.721 GB, free: 22.4 MB / 0.6355 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.0003271/0.4816, allocations: 260.8 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4816, allocations: 11.84 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.4817, allocations: 5.844 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.216e-05/0.4817, allocations: 109.7 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.4817, allocations: 2.359 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.4818, allocations: 1.406 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.4819, allocations: 55.5 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.4819, allocations: 192 / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4819, allocations: 10.12 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4819, allocations: 3.984 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.482, allocations: 38.69 kB / 0.7214 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.4823, allocations: 192.6 kB / 0.7216 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.4824, allocations: 42.55 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.4824, allocations: 24.09 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4824, allocations: 5.062 kB / 0.7217 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.4824, allocations: 36.25 kB / 0.7217 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4825, allocations: 0 / 0.7217 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.4827, allocations: 84.56 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.4827, allocations: 51.41 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.4828, allocations: 105.9 kB / 0.722 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.4828, allocations: 25.7 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.4828, allocations: 82.17 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4828, allocations: 9.141 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.4828, allocations: 18.48 kB / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.804e-05/0.4829, allocations: 313.2 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.4829, allocations: 14.56 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.483, allocations: 22.97 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.121e-05/0.4831, allocations: 39.92 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4831, allocations: 64 / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.4832, allocations: 82.02 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4832, allocations: 7.062 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4832, allocations: 0.7969 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4832, allocations: 0 / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.4833, allocations: 14.06 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4833, allocations: 0 / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.4833, allocations: 10.23 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4833, allocations: 5.734 kB / 0.7226 GB, free: 20.91 MB / 0.6355 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 4.208e-05/0.4834, allocations: 110 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.4834, allocations: 5.062 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.4834, allocations: 13.16 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4834, allocations: 0 / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4834, allocations: 1.844 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4834, allocations: 0 / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.4835, allocations: 108.5 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4835, allocations: 4.5 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.4835, allocations: 10.14 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4835, allocations: 7.938 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4835, allocations: 1.859 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4835, allocations: 0 / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4835, allocations: 0.7969 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.4837, allocations: 165.4 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.4837, allocations: 6.156 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.4837, allocations: 3.234 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.4837, allocations: 5.469 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.4838, allocations: 12.42 kB / 0.723 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.4838, allocations: 1.469 kB / 0.723 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.4838, allocations: 79.97 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4838, allocations: 0 / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001414/0.4839, allocations: 4.469 kB / 0.7231 GB, free: 20.41 MB / 0.6355 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 6.559e-05/0.484, allocations: 94.45 kB / 0.7232 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4841, allocations: 40.66 kB / 0.7232 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4841, allocations: 5.156 kB / 0.7232 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.4842, allocations: 26.81 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.4844, allocations: 7.062 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.4847, allocations: 113.3 kB / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.4847, allocations: 60.09 kB / 0.7234 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.4847, allocations: 6.016 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.4847, allocations: 12.58 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.4847, allocations: 0 / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.002073/0.4868, allocations: 0.6507 MB / 0.7241 GB, free: 20.01 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.179820279008709] Failed to read output from testmodel.py, exit status != 0: 0.493527851998806 0.501185094 0.018171822 Calling exit ...