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.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 192.5 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 290.6 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 97.33 kB / 0.5952 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.642/0.802, allocations: 325 MB / 0.9976 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02973/0.8318, allocations: 22.28 MB / 1.019 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.8358, allocations: 99.44 kB / 1.019 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.8486, allocations: 7.698 MB / 1.027 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.8597, allocations: 4.262 MB / 1.031 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007334/0.867, allocations: 2.427 MB / 1.033 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.8833, allocations: 11.94 MB / 1.045 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.8873, allocations: 2.2 MB / 1.047 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00861/0.8959, allocations: 3.145 MB / 1.05 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.9006, allocations: 1.807 MB / 1.052 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.9017, allocations: 228 kB / 1.052 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008691/0.9104, allocations: 3.855 MB / 1.056 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.9121, allocations: 1.137 MB / 1.057 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.9157, allocations: 1.687 MB / 1.059 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.3889/1.305, allocations: 5.724 MB / 1.064 GB, free: 84.45 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.305, allocations: 0.9062 kB / 1.064 GB, free: 84.45 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.388e-06/1.305, allocations: 0 / 1.064 GB, free: 84.45 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001525/1.305, allocations: 3.562 kB / 1.064 GB, free: 84.45 MB / 0.7637 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.009216/1.314, allocations: 3.76 MB / 1.068 GB, free: 82.73 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.314, allocations: 8.969 kB / 1.068 GB, free: 82.73 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/1.321, allocations: 1.106 MB / 1.069 GB, free: 82.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006978/1.328, allocations: 3.869 MB / 1.073 GB, free: 81.88 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/1.329, allocations: 180.2 kB / 1.073 GB, free: 81.88 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/1.329, allocations: 150.2 kB / 1.073 GB, free: 81.88 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/1.334, allocations: 1.729 MB / 1.075 GB, free: 81.66 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/1.334, allocations: 2.969 kB / 1.075 GB, free: 81.66 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.334, allocations: 55.38 kB / 1.075 GB, free: 81.66 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/1.334, allocations: 51.84 kB / 1.075 GB, free: 81.66 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/1.338, allocations: 1.462 MB / 1.077 GB, free: 81.64 MB / 0.7637 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.01256/1.35, allocations: 8.721 MB / 1.085 GB, free: 77.29 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.353, allocations: 1.031 MB / 1.086 GB, free: 77.07 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.354, allocations: 0.5168 MB / 1.087 GB, free: 77.06 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.354, allocations: 106.6 kB / 1.087 GB, free: 76.97 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.354, allocations: 41.69 kB / 1.087 GB, free: 76.93 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 3.366e-06/1.354, allocations: 1.375 kB / 1.087 GB, free: 76.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.004706/1.359, allocations: 1.493 MB / 1.088 GB, free: 76.73 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.359, allocations: 60.03 kB / 1.088 GB, free: 76.67 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/1.364, allocations: 2.949 MB / 1.091 GB, free: 76.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.364, allocations: 49.36 kB / 1.091 GB, free: 76.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/1.365, allocations: 1.268 MB / 1.092 GB, free: 76.01 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/1.365, allocations: 261.8 kB / 1.093 GB, free: 75.85 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006542/1.366, allocations: 427.3 kB / 1.093 GB, free: 75.81 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/1.366, allocations: 306.9 kB / 1.093 GB, free: 75.52 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/1.368, allocations: 0.8213 MB / 1.094 GB, free: 75.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.37, allocations: 1.33 MB / 1.095 GB, free: 74.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.373, allocations: 1.923 MB / 1.097 GB, free: 74.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/1.373, allocations: 3.156 kB / 1.097 GB, free: 74.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00437/1.377, allocations: 2.412 MB / 1.1 GB, free: 74.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.377, allocations: 9.625 kB / 1.1 GB, free: 74.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.377, allocations: 13.53 kB / 1.1 GB, free: 74.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.377, allocations: 22.25 kB / 1.1 GB, free: 74.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.379, allocations: 388.9 kB / 1.1 GB, free: 74.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002967/1.379, allocations: 0.6152 MB / 1.101 GB, free: 73.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/1.382, allocations: 238.4 kB / 1.101 GB, free: 73.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.382, allocations: 70.36 kB / 1.101 GB, free: 73.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002627/1.385, allocations: 1.442 MB / 1.102 GB, free: 73.58 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001716/1.386, allocations: 1.306 MB / 1.104 GB, free: 73.05 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002787/1.389, allocations: 1.881 MB / 1.106 GB, free: 72.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.546e-06/1.389, allocations: 3.031 kB / 1.106 GB, free: 72.63 MB / 0.7637 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004378/1.394, allocations: 2.369 MB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.394, allocations: 11.34 kB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.394, allocations: 12.69 kB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.394, allocations: 19.81 kB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.395, allocations: 366.4 kB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/1.395, allocations: 27.28 kB / 1.108 GB, free: 72.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.397, allocations: 193.5 kB / 1.108 GB, free: 72.37 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.398, allocations: 71.72 kB / 1.108 GB, free: 72.37 MB / 0.7637 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.0004203/1.398, allocations: 276.5 kB / 1.109 GB, free: 72.17 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/1.399, allocations: 271.9 kB / 1.109 GB, free: 72.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/1.402, allocations: 1.138 MB / 1.11 GB, free: 71.95 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/1.402, allocations: 6.531 kB / 1.11 GB, free: 71.95 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.402, allocations: 0 / 1.11 GB, free: 71.95 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002138/1.404, allocations: 0.9443 MB / 1.111 GB, free: 71.77 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006964/1.411, allocations: 3.349 MB / 1.114 GB, free: 71.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.411, allocations: 0 / 1.114 GB, free: 71.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.412, allocations: 218 kB / 1.115 GB, free: 71.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.412, allocations: 9.812 kB / 1.115 GB, free: 71.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/1.412, allocations: 24.55 kB / 1.115 GB, free: 71.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002055/1.412, allocations: 0.585 MB / 1.115 GB, free: 70.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.412, allocations: 2.625 kB / 1.115 GB, free: 70.52 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/1.416, allocations: 1.734 MB / 1.117 GB, free: 70.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.418, allocations: 470.7 kB / 1.117 GB, free: 69.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/1.418, allocations: 18.44 kB / 1.117 GB, free: 69.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.42, allocations: 88.06 kB / 1.117 GB, free: 69.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.42, allocations: 42.52 kB / 1.117 GB, free: 69.89 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/1.42, allocations: 28.67 kB / 1.117 GB, free: 69.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00295/1.423, allocations: 1.973 MB / 1.119 GB, free: 69.74 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.4e-07/1.423, allocations: 0 / 1.119 GB, free: 69.74 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003852/1.427, allocations: 1.26 MB / 1.121 GB, free: 69.59 MB / 0.7637 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.001201/1.428, allocations: 0.5028 MB / 1.121 GB, free: 69.44 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005724/1.434, allocations: 2.785 MB / 1.124 GB, free: 69.37 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.434, allocations: 0 / 1.124 GB, free: 69.37 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.435, allocations: 486.2 kB / 1.124 GB, free: 69.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006606/1.442, allocations: 1.455 MB / 1.126 GB, free: 69.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/1.449, allocations: 4.768 MB / 1.13 GB, free: 67.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.45, allocations: 1.927 MB / 1.132 GB, free: 66.48 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003205/1.454, allocations: 0.7224 MB / 1.133 GB, free: 66.29 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005928/1.454, allocations: 214.1 kB / 1.133 GB, free: 66.27 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.454, allocations: 0 / 1.133 GB, free: 66.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.0712/1.525, allocations: 53.04 MB / 1.185 GB, free: 22.98 MB / 0.7637 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)