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.IntegerToReal.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 169.7 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008617/0.0008615, allocations: 86.09 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 9.281 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001518/0.2027, allocations: 1.097 MB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.2031, allocations: 153.2 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.2032, allocations: 0 / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.2032, allocations: 0 / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.2033, allocations: 3.938 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.2035, allocations: 15.98 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.2036, allocations: 51.89 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2037, allocations: 8.281 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.2038, allocations: 19.92 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.2038, allocations: 15.92 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2039, allocations: 7.984 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.2039, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2039, allocations: 11.92 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.2039, allocations: 7.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.204, allocations: 43.86 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.204, allocations: 0 / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.204, allocations: 0 / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.204, allocations: 0 / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004477/0.2045, allocations: 343.5 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2045, allocations: 11.97 kB / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.2046, allocations: 8.844 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2047, allocations: 176.3 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2047, allocations: 8.312 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2047, allocations: 4.375 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.205, allocations: 74.2 kB / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.205, allocations: 192 / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.205, allocations: 3.938 kB / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.205, allocations: 0 / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.2052, allocations: 63.95 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.2056, allocations: 292.7 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2058, allocations: 66.55 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2059, allocations: 40.91 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2059, allocations: 0 / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2059, allocations: 34.56 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.206, allocations: 0 / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003939/0.2064, allocations: 125.6 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2064, allocations: 55.41 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.2065, allocations: 105.8 kB / 0.8995 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.2065, allocations: 25.7 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.2065, allocations: 92.05 kB / 0.8996 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2065, allocations: 11.83 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2066, allocations: 17.66 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.2066, allocations: 314.8 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.2067, allocations: 31.97 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.2068, allocations: 23.98 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.207, allocations: 76.69 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.207, allocations: 0 / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002205/0.2072, allocations: 97.55 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2073, allocations: 4 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2073, allocations: 0 / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2073, allocations: 4 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2074, allocations: 15.98 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2074, allocations: 0 / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.2075, allocations: 15.98 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2075, allocations: 0 / 0.9002 GB, free: 64.38 MB / 0.6042 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.077e-05/0.2076, allocations: 117.7 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.2076, allocations: 4.25 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2077, allocations: 7.906 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2077, allocations: 7.922 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2077, allocations: 8 kB / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2077, allocations: 0 / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2078, allocations: 174 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2078, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.2079, allocations: 15.98 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2079, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.2079, allocations: 3.984 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2079, allocations: 4 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.208, allocations: 4 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2082, allocations: 195.3 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2083, allocations: 85.11 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2083, allocations: 4 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.2084, allocations: 7.984 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2085, allocations: 7.984 kB / 0.9008 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2085, allocations: 4 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.2085, allocations: 87.22 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2085, allocations: 0 / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.2087, allocations: 8 kB / 0.9009 GB, free: 63.55 MB / 0.6042 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.579e-05/0.2088, allocations: 108.2 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.2091, allocations: 59.95 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2091, allocations: 0 / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2092, allocations: 35.97 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2095, allocations: 19.25 kB / 0.9011 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.2098, allocations: 176.6 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.21, allocations: 0.6887 MB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.21, allocations: 11.44 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.21, allocations: 0 / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.002027/0.212, allocations: 0.7795 MB / 0.9027 GB, free: 61.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)