Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009251/0.009251, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007777/0.0007778, allocations: 11.66 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2477, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm): time 0.857/1.105, allocations: 317.3 MB / 1.098 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03396/1.139, allocations: 23.18 MB / 1.12 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004547/1.143, allocations: 75.44 kB / 1.12 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005761/1.149, allocations: 1.275 MB / 1.122 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01385/1.163, allocations: 3.927 MB / 1.126 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007065/1.17, allocations: 2.049 MB / 1.128 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.012/1.182, allocations: 7.808 MB / 1.135 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/1.186, allocations: 1.852 MB / 1.137 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008351/1.195, allocations: 2.696 MB / 1.14 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/1.2, allocations: 1.819 MB / 1.141 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005983/1.2, allocations: 96 kB / 1.141 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008881/1.209, allocations: 4.146 MB / 1.146 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.211, allocations: 0.7864 MB / 1.146 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00229/1.213, allocations: 1.249 MB / 1.147 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.224, allocations: 5.07 MB / 1.152 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.224, allocations: 4 kB / 1.152 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/1.224, allocations: 4 kB / 1.152 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001188/1.224, allocations: 0 / 1.152 GB, free: 6.379 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005927/1.23, allocations: 2.653 MB / 1.155 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.23, allocations: 8.031 kB / 1.155 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/1.236, allocations: 0.8826 MB / 1.156 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/1.241, allocations: 2.085 MB / 1.158 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.241, allocations: 115.1 kB / 1.158 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/1.242, allocations: 151.9 kB / 1.158 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/1.245, allocations: 1.718 MB / 1.16 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/1.245, allocations: 0 / 1.16 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/1.245, allocations: 60 kB / 1.16 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/1.245, allocations: 46.67 kB / 1.16 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/1.249, allocations: 1.361 MB / 1.161 GB, free: 13.1 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/1.261, allocations: 7.713 MB / 1.169 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/1.263, allocations: 0.9776 MB / 1.17 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.264, allocations: 0.5595 MB / 1.17 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/1.264, allocations: 113.7 kB / 1.17 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.265, allocations: 43.22 kB / 1.171 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001206/1.266, allocations: 143 kB / 1.171 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=81): time 4.85e-06/1.266, allocations: 0 / 1.171 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.005052/1.271, allocations: 1.842 MB / 1.172 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/1.271, allocations: 64 kB / 1.172 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.274, allocations: 1.839 MB / 1.174 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.274, allocations: 49.7 kB / 1.174 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000839/1.275, allocations: 0.996 MB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/1.275, allocations: 291.9 kB / 1.176 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.275, allocations: 101.7 kB / 1.176 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.275, allocations: 345.9 kB / 1.176 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.276, allocations: 0.5374 MB / 1.177 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.278, allocations: 0.9478 MB / 1.177 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/1.28, allocations: 1.441 MB / 1.179 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.28, allocations: 4 kB / 1.179 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003627/1.284, allocations: 1.797 MB / 1.181 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/1.284, allocations: 386.3 kB / 1.181 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.284, allocations: 8 kB / 1.181 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/1.285, allocations: 273.5 kB / 1.181 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.286, allocations: 255.6 kB / 1.182 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/1.287, allocations: 1.87 MB / 1.183 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.289, allocations: 127.3 kB / 1.183 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.289, allocations: 71.97 kB / 1.184 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/1.289, allocations: 4 kB / 1.184 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/1.292, allocations: 1.47 MB / 1.185 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.292, allocations: 11.98 kB / 1.185 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.294, allocations: 309.8 kB / 1.185 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/1.294, allocations: 227.6 kB / 1.185 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/1.299, allocations: 3.514 MB / 1.189 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.301, allocations: 124 kB / 1.189 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.301, allocations: 63.98 kB / 1.189 GB, free: 15.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001165/1.302, allocations: 0.6061 MB / 1.19 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/1.303, allocations: 201.4 kB / 1.19 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/1.306, allocations: 1.343 MB / 1.191 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.306, allocations: 8 kB / 1.191 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.306, allocations: 7.938 kB / 1.191 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002452/1.308, allocations: 1.126 MB / 1.192 GB, free: 11.73 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/1.315, allocations: 3.115 MB / 1.195 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.315, allocations: 4.156 kB / 1.195 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/1.316, allocations: 183.8 kB / 1.196 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/1.316, allocations: 173.5 kB / 1.196 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/1.316, allocations: 23.98 kB / 1.196 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/1.318, allocations: 1.831 MB / 1.198 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.318, allocations: 7.969 kB / 1.198 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/1.322, allocations: 1.902 MB / 1.199 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.323, allocations: 366.4 kB / 1.2 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.324, allocations: 16 kB / 1.2 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.325, allocations: 135.6 kB / 1.2 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.325, allocations: 52.58 kB / 1.2 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/1.325, allocations: 35.98 kB / 1.2 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00219/1.327, allocations: 1.256 MB / 1.201 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.327, allocations: 0 / 1.201 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003521/1.331, allocations: 1.091 MB / 1.202 GB, free: 1.285 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/1.332, allocations: 487.3 kB / 1.203 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005427/1.338, allocations: 2.049 MB / 1.205 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.338, allocations: 192 / 1.205 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/1.339, allocations: 0.5231 MB / 1.205 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/1.345, allocations: 1.048 MB / 1.206 GB, free: 13.18 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/1.352, allocations: 4.477 MB / 1.211 GB, free: 8.664 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.354, allocations: 1.602 MB / 1.212 GB, free: 7.031 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002452/1.356, allocations: 497.4 kB / 1.213 GB, free: 6.543 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/1.357, allocations: 151.4 kB / 1.213 GB, free: 6.395 MB / 0.92 GB Notification: Performance of SimCode: time 4.8e-07/1.357, allocations: 0 / 1.213 GB, free: 6.395 MB / 0.92 GB Notification: Performance of Templates: time 0.07619/1.433, allocations: 43.53 MB / 1.255 GB, free: 11.37 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) Environment - environmentSimulation: