Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.6 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009671/0.0009669, allocations: 86.33 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.703/0.9095, allocations: 131.7 MB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9098, allocations: 78.19 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00194/0.9118, allocations: 0.7212 MB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9118, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.9118, allocations: 0 / 1.015 GB, free: 5.051 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.0003479/0.9122, allocations: 339.4 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9122, allocations: 12.03 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.9123, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.9124, allocations: 177.5 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.9124, allocations: 0 / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.9124, allocations: 0 / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.506e-05/0.9125, allocations: 14.88 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.9126, allocations: 37.62 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.9126, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.9126, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.9126, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.9129, allocations: 236.7 kB / 1.015 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.913, allocations: 30.06 kB / 1.015 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.913, allocations: 12.86 kB / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.913, allocations: 0 / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.9131, allocations: 34.56 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.9131, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.9132, allocations: 45.47 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.9133, allocations: 59.38 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.9133, allocations: 92.81 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.9134, allocations: 25.7 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.9134, allocations: 84.14 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.9134, allocations: 7.469 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9134, allocations: 3.828 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9136, allocations: 318.8 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.9136, allocations: 7.875 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.9136, allocations: 8 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.065e-05/0.9136, allocations: 4 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9136, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.515e-05/0.9137, allocations: 45.12 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9138, allocations: 10.56 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.9138, allocations: 0 / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9138, allocations: 0 / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.9139, allocations: 11.98 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9139, allocations: 0 / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.914, allocations: 12.09 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.914, allocations: 3.938 kB / 1.016 GB, free: 3.312 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.9141, allocations: 111.5 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.527e-05/0.9142, allocations: 41.58 kB / 1.016 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.9142, allocations: 3.938 kB / 1.016 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.9143, allocations: 11.7 kB / 1.016 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9143, allocations: 3.984 kB / 1.016 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9143, allocations: 4.031 kB / 1.016 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9143, allocations: 0 / 1.016 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.9145, allocations: 138 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9145, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.9146, allocations: 11.98 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.9146, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9146, allocations: 4 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9146, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9146, allocations: 0.875 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.9148, allocations: 155 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.9148, allocations: 77.11 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.9148, allocations: 0 / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.9149, allocations: 11.98 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.915, allocations: 11.86 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.915, allocations: 0 / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.9151, allocations: 83.31 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9151, allocations: 0 / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002129/0.9153, allocations: 12 kB / 1.017 GB, free: 2.578 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004334/0.9157, allocations: 0.6833 MB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.377e-05/0.9158, allocations: 15.72 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9158, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.9159, allocations: 15.8 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.9161, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.9165, allocations: 85.59 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.9168, allocations: 0.6843 MB / 1.018 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.9168, allocations: 4.125 kB / 1.018 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.9169, allocations: 17.67 kB / 1.018 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9169, allocations: 0 / 1.018 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.9348, allocations: 0.8349 MB / 1.019 GB, free: 188 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.9351, allocations: 167.8 kB / 1.019 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.365/2.3, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)