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.001099/0.001099, allocations: 80.44 kB / 19.91 MB, free: 4 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.001021/0.001021, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9021/0.9021, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7109/0.7109, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.001031/0.001031, allocations: 68.19 kB / 0.6198 GB, free: 12.78 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.4646/0.4656, allocations: 102 MB / 0.7194 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001311/0.4669, allocations: 0.6006 MB / 0.72 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.4675, allocations: 0.8437 MB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.4676, allocations: 0 / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.4676, allocations: 4.453 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.4677, allocations: 1.156 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.4678, allocations: 26.14 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.4679, allocations: 28.73 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.468, allocations: 13.27 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.468, allocations: 11.27 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.4681, allocations: 14.94 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.4681, allocations: 3.125 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.4681, allocations: 2.25 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.4681, allocations: 5.312 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.4681, allocations: 11.95 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.4682, allocations: 28.17 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4682, allocations: 0.5625 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4682, allocations: 0 / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4682, allocations: 4 kB / 0.721 GB, free: 22.41 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.0003117/0.4685, allocations: 265 kB / 0.7212 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4686, allocations: 14.36 kB / 0.7212 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.4686, allocations: 3.188 kB / 0.7212 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.68e-05/0.4687, allocations: 110 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4687, allocations: 5.5 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.4687, allocations: 1.438 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4688, allocations: 55.55 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4688, allocations: 1.375 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4688, allocations: 7.938 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4688, allocations: 0.5625 kB / 0.7214 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.4689, allocations: 38.91 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.4692, allocations: 193.3 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.4692, allocations: 42.05 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.4693, allocations: 23.77 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4693, allocations: 5.797 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.4693, allocations: 39.69 kB / 0.7217 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.4693, allocations: 0 / 0.7217 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000234/0.4696, allocations: 83.59 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.4696, allocations: 52.5 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.4696, allocations: 101.5 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.4696, allocations: 27.3 kB / 0.722 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.4696, allocations: 80.94 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.4697, allocations: 18.41 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.4697, allocations: 12.59 kB / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.4697, allocations: 314.2 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.4698, allocations: 19.16 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.4698, allocations: 15.08 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.4699, allocations: 43.55 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4699, allocations: 64 / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.47, allocations: 73.12 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.47, allocations: 7.094 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.47, allocations: 1.062 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.47, allocations: 0 / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.4701, allocations: 13.97 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4701, allocations: 0.5156 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.4701, allocations: 11.03 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4701, allocations: 5.188 kB / 0.7226 GB, free: 20.92 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 3.966e-05/0.4702, allocations: 116.5 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.4702, allocations: 6.469 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.4702, allocations: 8.344 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4702, allocations: 0 / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4702, allocations: 1.922 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.4702, allocations: 10 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.4702, allocations: 0 / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.4703, allocations: 10.3 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4703, allocations: 5.625 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000131/0.4705, allocations: 161.3 kB / 0.7229 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001331/0.4706, allocations: 243 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.537e-05/0.4707, allocations: 17.16 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.4707, allocations: 83.77 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4707, allocations: 64 / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.4709, allocations: 98.84 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003159/0.4712, allocations: 0.552 MB / 0.7239 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.002099/0.4733, allocations: 0.7404 MB / 0.7246 GB, free: 19.62 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1265273878816515] Failed to read output from testmodel.py, exit status != 0: 0.47934128111228347 0.48766823200000003 0.017418627000000002 Calling exit ...