Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001536/0.001536, allocations: 189.3 kB / 17.87 MB, free: 5.293 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.425/1.425, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8098/0.8098, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001943, allocations: 67.89 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.391, allocations: 78.56 MB / 0.5715 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7089/1.1, allocations: 321.6 MB / 0.8855 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.06145/1.161, allocations: 39.56 MB / 0.9242 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007425/1.169, allocations: 147.2 kB / 0.9243 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.02712/1.196, allocations: 14.97 MB / 0.9389 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02405/1.22, allocations: 7.176 MB / 0.9459 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01105/1.231, allocations: 3.591 MB / 0.9495 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03629/1.268, allocations: 22.41 MB / 0.9713 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008429/1.276, allocations: 3.442 MB / 0.9747 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01733/1.293, allocations: 6.053 MB / 0.9806 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008013/1.301, allocations: 3.296 MB / 0.9838 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/1.304, allocations: 472 kB / 0.9843 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/1.319, allocations: 5.629 MB / 0.9898 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004374/1.323, allocations: 2.427 MB / 0.9922 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008988/1.332, allocations: 3.301 MB / 0.9954 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0227/1.355, allocations: 10.58 MB / 1.006 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/1.355, allocations: 4 kB / 1.006 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/1.355, allocations: 0 / 1.006 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003571/1.355, allocations: 0 / 1.006 GB, free: 4.824 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.01992/1.375, allocations: 6.765 MB / 1.012 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.375, allocations: 8.031 kB / 1.012 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/1.387, allocations: 1.752 MB / 1.014 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.405, allocations: 7.863 MB / 1.022 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/1.406, allocations: 213.4 kB / 1.022 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/1.407, allocations: 260 kB / 1.022 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/1.417, allocations: 3.578 MB / 1.026 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.417, allocations: 0 / 1.026 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3408/1.758, allocations: 95.58 kB / 1.026 GB, free: 313.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/1.758, allocations: 83.81 kB / 1.026 GB, free: 313.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007818/1.766, allocations: 2.661 MB / 1.028 GB, free: 313.1 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.0245/1.791, allocations: 15.57 MB / 1.044 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/1.796, allocations: 2.195 MB / 1.046 GB, free: 302.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/1.798, allocations: 1.168 MB / 1.047 GB, free: 302 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/1.798, allocations: 217.7 kB / 1.047 GB, free: 301.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002932/1.801, allocations: 1.779 MB / 1.049 GB, free: 300.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=135): time 4.348e-06/1.801, allocations: 1.422 kB / 1.049 GB, free: 300.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135): time 0.00965/1.811, allocations: 3.672 MB / 1.052 GB, free: 299.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.811, allocations: 66.03 kB / 1.053 GB, free: 299.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009775/1.821, allocations: 6.158 MB / 1.059 GB, free: 295.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006581/1.822, allocations: 69.52 kB / 1.059 GB, free: 295.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.824, allocations: 2.383 MB / 1.061 GB, free: 293.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/1.824, allocations: 495.4 kB / 1.061 GB, free: 293.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.826, allocations: 0.8041 MB / 1.062 GB, free: 293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/1.826, allocations: 301.1 kB / 1.062 GB, free: 292.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/1.829, allocations: 2.599 MB / 1.065 GB, free: 291.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/1.834, allocations: 3.625 MB / 1.069 GB, free: 288.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/1.841, allocations: 5.876 MB / 1.074 GB, free: 285.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-05/1.841, allocations: 11.94 kB / 1.074 GB, free: 285.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009427/1.851, allocations: 6.949 MB / 1.081 GB, free: 278.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/1.851, allocations: 41.7 kB / 1.081 GB, free: 278.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.851, allocations: 24 kB / 1.081 GB, free: 278.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007151/1.852, allocations: 412.6 kB / 1.082 GB, free: 277.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/1.855, allocations: 0.7081 MB / 1.082 GB, free: 277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.857, allocations: 3.25 MB / 1.085 GB, free: 273.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/1.862, allocations: 446 kB / 1.086 GB, free: 273.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/1.863, allocations: 180 kB / 1.086 GB, free: 273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005073/1.868, allocations: 3.597 MB / 1.09 GB, free: 269.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003248/1.871, allocations: 3.324 MB / 1.093 GB, free: 265.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005663/1.877, allocations: 5.271 MB / 1.098 GB, free: 260.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.41e-05/1.877, allocations: 8 kB / 1.098 GB, free: 260.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization_lambda0): time 0.009031/1.886, allocations: 6.369 MB / 1.104 GB, free: 253.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/1.886, allocations: 45.69 kB / 1.104 GB, free: 253.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.886, allocations: 27 kB / 1.104 GB, free: 253.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/1.887, allocations: 448.5 kB / 1.105 GB, free: 253.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/1.89, allocations: 0.6994 MB / 1.105 GB, free: 252.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/1.896, allocations: 6.141 MB / 1.111 GB, free: 246.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005373/1.902, allocations: 367.2 kB / 1.112 GB, free: 246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005846/1.902, allocations: 160 kB / 1.112 GB, free: 245.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (344): * Single equations (assignments): 333 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009823/1.903, allocations: 351.3 kB / 1.112 GB, free: 245.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.905, allocations: 0.505 MB / 1.113 GB, free: 245 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00561/1.91, allocations: 2.787 MB / 1.115 GB, free: 242.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.911, allocations: 19.94 kB / 1.115 GB, free: 242.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.911, allocations: 4.031 kB / 1.115 GB, free: 242.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003804/1.914, allocations: 2.393 MB / 1.118 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.927, allocations: 6.514 MB / 1.124 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.927, allocations: 0 / 1.124 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.929, allocations: 465.6 kB / 1.125 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/1.929, allocations: 168.7 kB / 1.125 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.929, allocations: 47.97 kB / 1.125 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/1.931, allocations: 3.02 MB / 1.128 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.931, allocations: 4 kB / 1.128 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00715/1.938, allocations: 4.117 MB / 1.132 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/1.94, allocations: 0.8455 MB / 1.133 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.942, allocations: 40 kB / 1.133 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.945, allocations: 136.7 kB / 1.133 GB, free: 224.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.945, allocations: 101.2 kB / 1.133 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.946, allocations: 63.97 kB / 1.133 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00748/1.953, allocations: 4.176 MB / 1.137 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.953, allocations: 3.938 kB / 1.137 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00983/1.963, allocations: 2.363 MB / 1.139 GB, free: 217.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.motSpe.y,fan3.vol.dynBal.medium.Xi[1],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/1.965, allocations: 0.6731 MB / 1.14 GB, free: 217 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.979, allocations: 7.693 MB / 1.147 GB, free: 209.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.979, allocations: 4 kB / 1.147 GB, free: 209.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.981, allocations: 1.201 MB / 1.149 GB, free: 208.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01421/1.995, allocations: 3.031 MB / 1.152 GB, free: 205.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/2.014, allocations: 10.12 MB / 1.161 GB, free: 195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/2.016, allocations: 3.13 MB / 1.164 GB, free: 191.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/2.018, allocations: 395.3 kB / 1.165 GB, free: 191.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/2.018, allocations: 0 / 1.165 GB, free: 191.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.1721/2.19, allocations: 180.7 MB / 1.341 GB, free: 11.17 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)