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.00156/0.00156, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00195/0.00195, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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:190: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:198: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 1.309/1.309, allocations: 203.8 MB / 0.5041 GB, free: 4.598 MB / 414.1 MB " [Timeout remaining time 178] 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.002124/0.002124, allocations: 63.91 kB / 0.7186 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5784, allocations: 102 MB / 0.8182 GB, free: 28.85 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00172/0.5801, allocations: 0.6042 MB / 0.8188 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.581, allocations: 0.8433 MB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.5811, allocations: 0.8438 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.5811, allocations: 3.938 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.5812, allocations: 3.297 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.5813, allocations: 19.05 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.922e-05/0.5814, allocations: 29 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.5815, allocations: 7.516 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.5815, allocations: 9.047 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.5816, allocations: 17.86 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.5816, allocations: 2.125 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.5816, allocations: 5.5 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.5816, allocations: 6.031 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.5816, allocations: 7.672 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.5817, allocations: 35.44 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5817, allocations: 0 / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5817, allocations: 0 / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.5817, allocations: 1.156 kB / 0.8198 GB, free: 27.81 MB / 0.6387 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.0003839/0.5821, allocations: 260 kB / 0.82 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5822, allocations: 11.39 kB / 0.8201 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.5822, allocations: 7.672 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.144e-05/0.5823, allocations: 105.9 kB / 0.8202 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.5823, allocations: 5.828 kB / 0.8202 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.5823, allocations: 2.062 kB / 0.8202 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5825, allocations: 56.64 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.5825, allocations: 0.8125 kB / 0.8202 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5825, allocations: 4.5 kB / 0.8202 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5825, allocations: 1.75 kB / 0.8202 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.5827, allocations: 36.22 kB / 0.8203 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.583, allocations: 201.2 kB / 0.8205 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5831, allocations: 42.83 kB / 0.8205 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.5832, allocations: 21.75 kB / 0.8205 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5832, allocations: 4.75 kB / 0.8205 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.5832, allocations: 35.84 kB / 0.8206 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.5832, allocations: 1.906 kB / 0.8206 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.5836, allocations: 84.09 kB / 0.8206 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.5836, allocations: 54.42 kB / 0.8207 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/0.5837, allocations: 97.17 kB / 0.8208 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.5837, allocations: 25.7 kB / 0.8208 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.5837, allocations: 91.09 kB / 0.8209 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.5837, allocations: 1.344 kB / 0.8209 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.5837, allocations: 18.34 kB / 0.8209 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.5838, allocations: 317.5 kB / 0.8212 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.5839, allocations: 14.84 kB / 0.8212 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.584, allocations: 20.42 kB / 0.8213 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.5841, allocations: 47.14 kB / 0.8213 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5841, allocations: 0 / 0.8213 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.5843, allocations: 78.45 kB / 0.8214 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5843, allocations: 4.875 kB / 0.8214 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5843, allocations: 2.531 kB / 0.8214 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5844, allocations: 0.875 kB / 0.8214 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.5845, allocations: 9.766 kB / 0.8214 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5845, allocations: 8.422 kB / 0.8214 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.5845, allocations: 6.422 kB / 0.8214 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.5845, allocations: 1.531 kB / 0.8214 GB, free: 26.34 MB / 0.6387 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.813e-05/0.5846, allocations: 112.5 kB / 0.8215 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.5846, allocations: 13.05 kB / 0.8215 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.5846, allocations: 12.86 kB / 0.8215 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5846, allocations: 0.5312 kB / 0.8215 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5846, allocations: 0.625 kB / 0.8215 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5846, allocations: 4.719 kB / 0.8215 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.5847, allocations: 105.1 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5847, allocations: 0.5625 kB / 0.8216 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.5848, allocations: 9.688 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5848, allocations: 4.562 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.5848, allocations: 2.188 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5848, allocations: 0 / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5848, allocations: 0.5312 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.585, allocations: 169.6 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.585, allocations: 6.25 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5851, allocations: 4.891 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.5852, allocations: 6.734 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5852, allocations: 3.953 kB / 0.8218 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.5852, allocations: 6.172 kB / 0.8218 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.5852, allocations: 79.86 kB / 0.8219 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.5852, allocations: 0 / 0.8219 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002241/0.5855, allocations: 8.516 kB / 0.8219 GB, free: 25.84 MB / 0.6387 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 7.437e-05/0.5855, allocations: 97.88 kB / 0.822 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5858, allocations: 41.59 kB / 0.8221 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5858, allocations: 0.8125 kB / 0.8221 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.5859, allocations: 18.94 kB / 0.8221 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.5861, allocations: 15.08 kB / 0.8221 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.5864, allocations: 102.9 kB / 0.8222 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.5865, allocations: 64.08 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.5865, allocations: 2.703 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.5865, allocations: 10.14 kB / 0.8223 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.5865, allocations: 0.9375 kB / 0.8223 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.003416/0.5899, allocations: 0.6393 MB / 0.8229 GB, free: 25.46 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.022664504125714] Failed to read output from testmodel.py, exit status != 0: 0.5983135420829058 0.609191606 0.024993069000000003 Calling exit ...