Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001529/0.001529, allocations: 85.77 kB / 19.94 MB, free: 1.777 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.001766/0.001766, allocations: 162.2 kB / 23.22 MB, free: 4.902 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.401/1.401, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.899/0.899, allocations: 114 MB / 373.9 MB, free: 13.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5546 GB, free: 2.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.689e-05, allocations: 3.094 kB / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001684/0.001711, allocations: 0.601 MB / 0.5552 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.00289, allocations: 0.863 MB / 0.5561 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.002935, allocations: 0 / 0.5561 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.00296, allocations: 0 / 0.5561 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.003021, allocations: 3.938 kB / 0.5561 GB, free: 1.215 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.00317, allocations: 15.97 kB / 0.5561 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.003252, allocations: 27.94 kB / 0.5561 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003356, allocations: 7.969 kB / 0.5561 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.00344, allocations: 15.98 kB / 0.5561 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.003498, allocations: 11.94 kB / 0.5561 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.003519, allocations: 0 / 0.5561 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.003531, allocations: 8 kB / 0.5562 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.003552, allocations: 7.969 kB / 0.5562 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.003578, allocations: 8 kB / 0.5562 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.003669, allocations: 27.89 kB / 0.5562 GB, free: 1.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003672, allocations: 7.875 kB / 0.5562 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003673, allocations: 0 / 0.5562 GB, free: 1.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003677, allocations: 0 / 0.5562 GB, free: 1.078 MB / 462.1 MB 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.0004891/0.004166, allocations: 258.4 kB / 0.5565 GB, free: 0.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.004204, allocations: 8.625 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.004242, allocations: 8.891 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.004396, allocations: 105.8 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.004422, allocations: 384 / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.004436, allocations: 4.375 kB / 0.5566 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.00464, allocations: 50.23 kB / 0.5566 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.004652, allocations: 192 / 0.5566 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.004665, allocations: 4.359 kB / 0.5566 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.00467, allocations: 384 / 0.5566 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.004865, allocations: 39.91 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.005229, allocations: 200.6 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.005382, allocations: 42.55 kB / 0.5569 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.005477, allocations: 16.91 kB / 0.5569 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.005495, allocations: 0 / 0.5569 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.00554, allocations: 38.56 kB / 0.557 GB, free: 208 kB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.00554, allocations: 0 / 0.557 GB, free: 208 kB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003928/0.005933, allocations: 97.45 kB / 0.557 GB, free: 104 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.005981, allocations: 55.39 kB / 0.5571 GB, free: 36 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006088, allocations: 101.8 kB / 0.5572 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.006105, allocations: 25.7 kB / 0.5572 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.006158, allocations: 88.12 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.006174, allocations: 3.938 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.006213, allocations: 17.7 kB / 0.5573 GB, free: 15.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.00637, allocations: 314.8 kB / 0.5576 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.006465, allocations: 15.98 kB / 0.5576 GB, free: 15.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.591e-05/0.006551, allocations: 24.09 kB / 0.5577 GB, free: 15.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.006718, allocations: 36.83 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00672, allocations: 0 / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002289/0.006949, allocations: 77.55 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.006964, allocations: 8 kB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.006977, allocations: 8.031 kB / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.00699, allocations: 0 / 0.5578 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.00709, allocations: 11.92 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.007098, allocations: 4 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.007153, allocations: 3.984 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.007159, allocations: 4 kB / 0.5578 GB, free: 15.26 MB / 478.1 MB 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 8.782e-05/0.007247, allocations: 110.9 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.007273, allocations: 4 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.007293, allocations: 11.25 kB / 0.5579 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007295, allocations: 4 kB / 0.5579 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.007301, allocations: 3.984 kB / 0.5579 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.007307, allocations: 4 kB / 0.5579 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.007451, allocations: 101.3 kB / 0.558 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007452, allocations: 0 / 0.558 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.007526, allocations: 11.98 kB / 0.558 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007528, allocations: 0 / 0.558 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007536, allocations: 192 / 0.558 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.007539, allocations: 7.875 kB / 0.5581 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00754, allocations: 0 / 0.5581 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.007824, allocations: 171.5 kB / 0.5582 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.007832, allocations: 3.953 kB / 0.5582 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.007847, allocations: 4 kB / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.007929, allocations: 7.938 kB / 0.5582 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.007975, allocations: 7.984 kB / 0.5582 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.007979, allocations: 0 / 0.5582 GB, free: 14.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.008026, allocations: 87.27 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008027, allocations: 0 / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.008241, allocations: 4 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB 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.0001139/0.008355, allocations: 103.2 kB / 0.5584 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.008591, allocations: 39.89 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008593, allocations: 0 / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.00869, allocations: 23.98 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.008921, allocations: 128 / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.00921, allocations: 124.7 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.009276, allocations: 59.36 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.009301, allocations: 0 / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.009337, allocations: 20.42 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.009338, allocations: 0 / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of Templates: time 0.002944/0.01228, allocations: 0.6328 MB / 0.5593 GB, free: 13.64 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.075092110782862] Failed to read output from testmodel.py, exit status != 0: 0.02031712979078293 0.034519797000000005 0.027921741000000003 Calling exit ...