Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 103 kB / 16.35 MB, free: 5.875 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.001041/0.001041, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 289.2 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 98.95 kB / 0.5967 GB, free: 3.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1597, allocations: 86.97 MB / 0.6816 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9238/1.084, allocations: 325 MB / 0.999 GB, free: 66.47 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02624/1.11, allocations: 22.29 MB / 1.021 GB, free: 66.38 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003714/1.114, allocations: 95.34 kB / 1.021 GB, free: 66.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01431/1.128, allocations: 7.694 MB / 1.028 GB, free: 66.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/1.14, allocations: 4.261 MB / 1.033 GB, free: 66.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006733/1.147, allocations: 2.455 MB / 1.035 GB, free: 66.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01879/1.166, allocations: 11.95 MB / 1.047 GB, free: 66.06 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/1.17, allocations: 2.198 MB / 1.049 GB, free: 65.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007602/1.177, allocations: 3.145 MB / 1.052 GB, free: 65.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/1.182, allocations: 1.82 MB / 1.054 GB, free: 65.67 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000682/1.182, allocations: 232.2 kB / 1.054 GB, free: 65.67 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/1.194, allocations: 3.862 MB / 1.058 GB, free: 65.62 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001979/1.196, allocations: 1.14 MB / 1.059 GB, free: 65.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002787/1.199, allocations: 1.684 MB / 1.06 GB, free: 65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009943/1.209, allocations: 5.78 MB / 1.066 GB, free: 62.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.209, allocations: 0 / 1.066 GB, free: 62.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/1.209, allocations: 0 / 1.066 GB, free: 62.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.289e-05/1.209, allocations: 2.531 kB / 1.066 GB, free: 62.83 MB / 0.7325 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.006366/1.215, allocations: 3.763 MB / 1.07 GB, free: 60.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/1.215, allocations: 10.72 kB / 1.07 GB, free: 60.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006695/1.222, allocations: 1.096 MB / 1.071 GB, free: 60.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006325/1.228, allocations: 3.952 MB / 1.075 GB, free: 57.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/1.228, allocations: 114.6 kB / 1.075 GB, free: 57.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/1.229, allocations: 154.7 kB / 1.075 GB, free: 57.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/1.232, allocations: 1.712 MB / 1.077 GB, free: 56.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/1.232, allocations: 2.531 kB / 1.077 GB, free: 56.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/1.232, allocations: 56.72 kB / 1.077 GB, free: 56.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/1.232, allocations: 55.16 kB / 1.077 GB, free: 56.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/1.235, allocations: 1.449 MB / 1.078 GB, free: 55.74 MB / 0.7325 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.01027/1.245, allocations: 8.643 MB / 1.086 GB, free: 48.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/1.247, allocations: 1.024 MB / 1.087 GB, free: 47.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.248, allocations: 0.4967 MB / 1.088 GB, free: 47.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.249, allocations: 120.6 kB / 1.088 GB, free: 47.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/1.249, allocations: 37.69 kB / 1.088 GB, free: 47.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/1.249, allocations: 0 / 1.088 GB, free: 47.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.003745/1.252, allocations: 1.459 MB / 1.09 GB, free: 46.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/1.252, allocations: 63.97 kB / 1.09 GB, free: 46.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/1.256, allocations: 2.944 MB / 1.092 GB, free: 43.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/1.256, allocations: 49.7 kB / 1.093 GB, free: 43.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/1.257, allocations: 1.271 MB / 1.094 GB, free: 41.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.257, allocations: 254 kB / 1.094 GB, free: 41.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/1.257, allocations: 435 kB / 1.094 GB, free: 41.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/1.257, allocations: 301.1 kB / 1.095 GB, free: 40.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.259, allocations: 0.8167 MB / 1.096 GB, free: 39.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.26, allocations: 1.32 MB / 1.097 GB, free: 38.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/1.263, allocations: 1.898 MB / 1.099 GB, free: 36.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.263, allocations: 4 kB / 1.099 GB, free: 36.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003776/1.266, allocations: 2.407 MB / 1.101 GB, free: 34.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.266, allocations: 8 kB / 1.101 GB, free: 34.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.266, allocations: 12 kB / 1.101 GB, free: 34.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.266, allocations: 20 kB / 1.101 GB, free: 34.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.268, allocations: 387.7 kB / 1.101 GB, free: 33.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002321/1.268, allocations: 0.6013 MB / 1.102 GB, free: 33.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.27, allocations: 238.1 kB / 1.102 GB, free: 32.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.27, allocations: 74.58 kB / 1.102 GB, free: 32.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002039/1.272, allocations: 1.429 MB / 1.104 GB, free: 31.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001445/1.274, allocations: 1.299 MB / 1.105 GB, free: 29.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003323/1.277, allocations: 1.865 MB / 1.107 GB, free: 27.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.144e-06/1.277, allocations: 4 kB / 1.107 GB, free: 27.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003829/1.281, allocations: 2.352 MB / 1.109 GB, free: 25.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.281, allocations: 10.34 kB / 1.109 GB, free: 25.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.281, allocations: 12 kB / 1.109 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.281, allocations: 20 kB / 1.109 GB, free: 25.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.282, allocations: 352.4 kB / 1.109 GB, free: 25.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.282, allocations: 29.05 kB / 1.11 GB, free: 25.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.284, allocations: 186.8 kB / 1.11 GB, free: 25.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.285, allocations: 67.98 kB / 1.11 GB, free: 25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003098/1.285, allocations: 271.8 kB / 1.11 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/1.285, allocations: 276.5 kB / 1.11 GB, free: 24.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/1.288, allocations: 1.129 MB / 1.111 GB, free: 23.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.288, allocations: 4 kB / 1.111 GB, free: 23.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.288, allocations: 4 kB / 1.111 GB, free: 23.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/1.29, allocations: 0.9164 MB / 1.112 GB, free: 22.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/1.296, allocations: 3.332 MB / 1.116 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.296, allocations: 0 / 1.116 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.297, allocations: 207.6 kB / 1.116 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.297, allocations: 4 kB / 1.116 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/1.297, allocations: 27.97 kB / 1.116 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001899/1.297, allocations: 0.5885 MB / 1.116 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.297, allocations: 0 / 1.116 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.3, allocations: 1.71 MB / 1.118 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/1.301, allocations: 469.4 kB / 1.118 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.302, allocations: 16 kB / 1.118 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.303, allocations: 83.81 kB / 1.119 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/1.303, allocations: 54.81 kB / 1.119 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/1.303, allocations: 27.97 kB / 1.119 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002323/1.305, allocations: 1.972 MB / 1.121 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.305, allocations: 0 / 1.121 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002558/1.308, allocations: 1.255 MB / 1.122 GB, free: 12.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0009684/1.309, allocations: 494.2 kB / 1.122 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004507/1.313, allocations: 2.686 MB / 1.125 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.314, allocations: 0 / 1.125 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.315, allocations: 479 kB / 1.125 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/1.319, allocations: 1.457 MB / 1.127 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/1.326, allocations: 4.696 MB / 1.131 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.327, allocations: 1.931 MB / 1.133 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002419/1.329, allocations: 0.7166 MB / 1.134 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.33, allocations: 207.4 kB / 1.134 GB, free: 4 kB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/1.33, allocations: 4 kB / 1.134 GB, free: 0 / 0.7325 GB Notification: Performance of Templates: time 0.08255/1.413, allocations: 50.85 MB / 1.184 GB, free: 14.11 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)