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.0007958/0.0007958, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008265/0.0008265, allocations: 166.3 kB / 23.97 MB, free: 0.5977 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.88/0.88, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 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.5536/0.5536, allocations: 114 MB / 374.7 MB, free: 8.719 MB / 346.7 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.054e-06/2.054e-06, allocations: 0 / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.066e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001125/0.001146, allocations: 0.6099 MB / 0.556 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002209, allocations: 0.8431 MB / 0.5568 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.002242, allocations: 0 / 0.5568 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.002272, allocations: 3.938 kB / 0.5568 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.002329, allocations: 3.984 kB / 0.5568 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.002474, allocations: 12 kB / 0.5568 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.002536, allocations: 27.92 kB / 0.5569 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.002631, allocations: 15.95 kB / 0.5569 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.002696, allocations: 19.88 kB / 0.5569 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.00274, allocations: 7.984 kB / 0.5569 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.002764, allocations: 4 kB / 0.5569 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.002772, allocations: 0 / 0.5569 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.002787, allocations: 4 kB / 0.5569 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.002809, allocations: 11.98 kB / 0.5569 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.002886, allocations: 27.83 kB / 0.5569 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002888, allocations: 0 / 0.5569 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002889, allocations: 4 kB / 0.5569 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.002893, allocations: 4 kB / 0.557 GB, free: 0.6953 MB / 0.5105 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.0003621/0.003255, allocations: 254.4 kB / 0.5572 GB, free: 424 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.003303, allocations: 12.61 kB / 0.5572 GB, free: 412 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.003347, allocations: 8.891 kB / 0.5572 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.003451, allocations: 105.8 kB / 0.5573 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.003477, allocations: 4.375 kB / 0.5573 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.003487, allocations: 384 / 0.5573 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.003636, allocations: 50.23 kB / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.003646, allocations: 4.188 kB / 0.5574 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.003657, allocations: 4.312 kB / 0.5574 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003661, allocations: 384 / 0.5574 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.003762, allocations: 39.89 kB / 0.5574 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.004111, allocations: 196.6 kB / 0.5576 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.004212, allocations: 38.55 kB / 0.5576 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.004272, allocations: 24.91 kB / 0.5577 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.004294, allocations: 4 kB / 0.5577 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.004318, allocations: 34.5 kB / 0.5577 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004319, allocations: 0 / 0.5577 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002733/0.004592, allocations: 93.47 kB / 0.5578 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.004631, allocations: 55.41 kB / 0.5578 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.0047, allocations: 101.8 kB / 0.5579 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.004711, allocations: 25.7 kB / 0.558 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.004752, allocations: 80.27 kB / 0.558 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.004774, allocations: 11.95 kB / 0.558 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.0048, allocations: 13.72 kB / 0.5581 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.004891, allocations: 318.8 kB / 0.5584 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.004939, allocations: 15.98 kB / 0.5584 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.004977, allocations: 15.92 kB / 0.5584 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.881e-05/0.005066, allocations: 48.81 kB / 0.5584 GB, free: 15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005068, allocations: 8 kB / 0.5585 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.005175, allocations: 65.66 kB / 0.5585 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.005188, allocations: 5.406 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.005198, allocations: 3.938 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.005214, allocations: 0 / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.005285, allocations: 11.98 kB / 0.5585 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00529, allocations: 0 / 0.5585 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.005315, allocations: 11.95 kB / 0.5585 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.00532, allocations: 4 kB / 0.5585 GB, free: 14.88 MB / 0.5261 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.913e-05/0.005379, allocations: 113.8 kB / 0.5587 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.00539, allocations: 3.938 kB / 0.5587 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.005406, allocations: 7.25 kB / 0.5587 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.005408, allocations: 0 / 0.5587 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005412, allocations: 4 kB / 0.5587 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005414, allocations: 0 / 0.5587 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.543e-05/0.0055, allocations: 109.3 kB / 0.5588 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005501, allocations: 0 / 0.5588 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.005528, allocations: 11.98 kB / 0.5588 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.00553, allocations: 0 / 0.5588 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.005537, allocations: 4.188 kB / 0.5588 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005539, allocations: 3.938 kB / 0.5588 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005539, allocations: 0 / 0.5588 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.005679, allocations: 167.5 kB / 0.559 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.005686, allocations: 11.94 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.005697, allocations: 0 / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.005736, allocations: 11.97 kB / 0.559 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.00578, allocations: 7.984 kB / 0.559 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.005783, allocations: 4 kB / 0.559 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.005809, allocations: 79.22 kB / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005809, allocations: 0 / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001373/0.005946, allocations: 4 kB / 0.5591 GB, free: 14.3 MB / 0.5261 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.119e-05/0.006017, allocations: 107.2 kB / 0.5592 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.006148, allocations: 43.95 kB / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006149, allocations: 0 / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.006194, allocations: 19.98 kB / 0.5592 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.006376, allocations: 0 / 0.5592 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.006612, allocations: 134.5 kB / 0.5594 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.006656, allocations: 67.33 kB / 0.5594 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.006682, allocations: 8.5 kB / 0.5594 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.006683, allocations: 0 / 0.5594 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.001425/0.008108, allocations: 0.6222 MB / 0.56 GB, free: 13.24 MB / 0.5261 GB " [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: 4.742530479095876] Failed to read output from testmodel.py, exit status != 0: 0.012585153803229332 0.021024676000000003 0.016501292 Calling exit ...