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.0005522/0.0005522, 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.0006793/0.0006793, 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.8568/0.8568, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.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: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 0.7178/0.7178, allocations: 203.8 MB / 0.5049 GB, free: 10.48 MB / 410.7 MB " [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.0008573/0.0008573, allocations: 66.62 kB / 0.7194 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4194, allocations: 102 MB / 0.819 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00136/0.4208, allocations: 0.6082 MB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.4215, allocations: 0.8496 MB / 0.8204 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.4215, allocations: 0 / 0.8204 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.4216, allocations: 3.938 kB / 0.8204 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.4216, allocations: 4.547 kB / 0.8204 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.4218, allocations: 20.05 kB / 0.8204 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.4218, allocations: 25.36 kB / 0.8205 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.4219, allocations: 8.953 kB / 0.8205 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.422, allocations: 13.12 kB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.422, allocations: 13.17 kB / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.4221, allocations: 0 / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.4221, allocations: 2.062 kB / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.4221, allocations: 11.45 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.4221, allocations: 10.48 kB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.115e-05/0.4222, allocations: 27.81 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4222, allocations: 0 / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4222, allocations: 0 / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4222, allocations: 0 / 0.8205 GB, free: 280 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003087/0.4225, allocations: 265.5 kB / 0.8208 GB, free: 8 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4225, allocations: 11.09 kB / 0.8208 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.4226, allocations: 4.875 kB / 0.8208 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4227, allocations: 107.7 kB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4227, allocations: 4.859 kB / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.4227, allocations: 384 / 0.8209 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.4228, allocations: 51.11 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4228, allocations: 192 / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4228, allocations: 3.938 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4229, allocations: 2.125 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.423, allocations: 42.53 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.4232, allocations: 200 kB / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.4233, allocations: 39.84 kB / 0.8212 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.4234, allocations: 26.86 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4234, allocations: 3.938 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4234, allocations: 32.94 kB / 0.8213 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4234, allocations: 4 kB / 0.8213 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000236/0.4236, allocations: 86.67 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4237, allocations: 52.39 kB / 0.8214 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.4237, allocations: 106.3 kB / 0.8215 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4237, allocations: 25.7 kB / 0.8216 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.4238, allocations: 86.55 kB / 0.8217 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.4238, allocations: 4.797 kB / 0.8217 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.4238, allocations: 17.38 kB / 0.8217 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.4239, allocations: 318 kB / 0.822 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.4239, allocations: 18.86 kB / 0.822 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/0.424, allocations: 15.39 kB / 0.822 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.4241, allocations: 42.8 kB / 0.8221 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4241, allocations: 0 / 0.8221 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001266/0.4242, allocations: 81.98 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4242, allocations: 9.406 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4242, allocations: 1.156 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4242, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.4243, allocations: 12.91 kB / 0.8222 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4243, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.4244, allocations: 10.72 kB / 0.8222 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.4244, allocations: 0 / 0.8222 GB, free: 14.78 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 (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 5.758e-05/0.4244, allocations: 110.4 kB / 0.8223 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.4244, allocations: 11.12 kB / 0.8223 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.4244, allocations: 8.062 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4244, allocations: 3.5 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4245, allocations: 4 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4245, allocations: 0.7031 kB / 0.8223 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.571e-05/0.4245, allocations: 104 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4245, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.4246, allocations: 8.344 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4246, allocations: 5.75 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4246, allocations: 0.75 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.4246, allocations: 4 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4246, allocations: 2.062 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4247, allocations: 164.3 kB / 0.8226 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.4247, allocations: 6.75 kB / 0.8226 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.4247, allocations: 0.7969 kB / 0.8226 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.4248, allocations: 6.234 kB / 0.8226 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4248, allocations: 10.7 kB / 0.8226 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4248, allocations: 0.7031 kB / 0.8226 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.648e-05/0.4249, allocations: 83.59 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4249, allocations: 0 / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001364/0.425, allocations: 3.281 kB / 0.8227 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 (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.94e-05/0.4251, allocations: 94.5 kB / 0.8228 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.4252, allocations: 46.08 kB / 0.8228 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4252, allocations: 0.625 kB / 0.8228 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.4253, allocations: 22.41 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.0002118/0.4255, allocations: 6.141 kB / 0.8228 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.4257, allocations: 133.8 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.4258, allocations: 63.8 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.4258, allocations: 10.67 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4258, allocations: 3.938 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.001497/0.4273, allocations: 0.608 MB / 0.8236 GB, free: 13.92 MB / 0.6198 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: 5.155816647224128] Failed to read output from testmodel.py, exit status != 0: 0.43220811523497105 0.44120989200000005 0.017123923000000003 Calling exit ...