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.001115/0.001115, allocations: 103.4 kB / 16.4 MB, free: 6.465 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.001194/0.001194, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.59 kB / 0.5685 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 77.94 MB / 0.6446 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8056/0.9699, allocations: 321.5 MB / 0.9586 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05757/1.027, allocations: 39.55 MB / 0.9972 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0074/1.035, allocations: 147.2 kB / 0.9973 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/1.045, allocations: 3.372 MB / 1.001 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02022/1.066, allocations: 7.242 MB / 1.008 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/1.076, allocations: 3.648 MB / 1.011 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.6986/1.774, allocations: 36.27 MB / 1.047 GB, free: 33.4 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007825/1.782, allocations: 3.5 MB / 1.05 GB, free: 33.08 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02456/1.807, allocations: 5.803 MB / 1.056 GB, free: 33.08 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/1.818, allocations: 3.504 MB / 1.059 GB, free: 33.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003009/1.821, allocations: 495.3 kB / 1.06 GB, free: 33.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01912/1.84, allocations: 5.672 MB / 1.065 GB, free: 33.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005866/1.846, allocations: 2.49 MB / 1.068 GB, free: 32.92 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01138/1.857, allocations: 3.342 MB / 1.071 GB, free: 31.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02962/1.887, allocations: 10.87 MB / 1.081 GB, free: 30.6 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.887, allocations: 1 kB / 1.081 GB, free: 30.6 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.056e-06/1.887, allocations: 0 / 1.081 GB, free: 30.6 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004647/1.887, allocations: 0.7812 kB / 1.081 GB, free: 30.6 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.02679/1.914, allocations: 7.367 MB / 1.089 GB, free: 27.12 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/1.914, allocations: 9.281 kB / 1.089 GB, free: 27.12 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.927, allocations: 1.783 MB / 1.09 GB, free: 26.75 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.946, allocations: 8.539 MB / 1.099 GB, free: 25.61 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/1.946, allocations: 194.3 kB / 1.099 GB, free: 25.6 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008041/1.947, allocations: 275.2 kB / 1.099 GB, free: 25.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006391/1.954, allocations: 3.567 MB / 1.103 GB, free: 25.28 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/1.954, allocations: 6.969 kB / 1.103 GB, free: 25.28 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/1.954, allocations: 96.53 kB / 1.103 GB, free: 25.28 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-05/1.954, allocations: 85.38 kB / 1.103 GB, free: 25.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005421/1.96, allocations: 2.662 MB / 1.105 GB, free: 25.24 MB / 0.795 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.02586/1.985, allocations: 15.25 MB / 1.12 GB, free: 19.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/1.99, allocations: 2.126 MB / 1.122 GB, free: 18.97 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/1.992, allocations: 1.139 MB / 1.124 GB, free: 18.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/1.993, allocations: 210.1 kB / 1.124 GB, free: 18.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002731/1.995, allocations: 1.74 MB / 1.125 GB, free: 18.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=137): time 3.597e-06/1.995, allocations: 0 / 1.125 GB, free: 18.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=137): time 0.008731/2.004, allocations: 3.58 MB / 1.129 GB, free: 18.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/2.004, allocations: 80.55 kB / 1.129 GB, free: 18.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.02, allocations: 6.531 MB / 1.135 GB, free: 17.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008092/2.021, allocations: 71.05 kB / 1.135 GB, free: 17.64 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002668/2.023, allocations: 2.407 MB / 1.138 GB, free: 16.89 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000973/2.024, allocations: 0.5171 MB / 1.138 GB, free: 16.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/2.026, allocations: 0.8071 MB / 1.139 GB, free: 16.37 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.911e-05/2.026, allocations: 305.1 kB / 1.139 GB, free: 16.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/2.029, allocations: 2.565 MB / 1.142 GB, free: 15.72 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004071/2.033, allocations: 3.596 MB / 1.145 GB, free: 12.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/2.041, allocations: 5.83 MB / 1.151 GB, free: 8.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-05/2.041, allocations: 8 kB / 1.151 GB, free: 8.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01062/2.052, allocations: 6.956 MB / 1.158 GB, free: 2.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/2.052, allocations: 41.7 kB / 1.158 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/2.052, allocations: 24 kB / 1.158 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/2.053, allocations: 424.6 kB / 1.158 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/2.056, allocations: 0.6907 MB / 1.159 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/2.059, allocations: 3.263 MB / 1.162 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005657/2.064, allocations: 443 kB / 1.163 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005485/2.065, allocations: 180 kB / 1.163 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006553/2.072, allocations: 3.569 MB / 1.166 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004161/2.076, allocations: 3.301 MB / 1.17 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006831/2.083, allocations: 5.227 MB / 1.175 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.822e-05/2.083, allocations: 4 kB / 1.175 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.01127/2.094, allocations: 6.353 MB / 1.181 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/2.094, allocations: 41.7 kB / 1.181 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/2.094, allocations: 24 kB / 1.181 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/2.095, allocations: 452.6 kB / 1.181 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/2.098, allocations: 0.6931 MB / 1.182 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/2.106, allocations: 6.174 MB / 1.188 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/2.113, allocations: 354.8 kB / 1.188 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007789/2.113, allocations: 167.7 kB / 1.189 GB, free: 2.625 MB / 0.8262 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 (347): * Single equations (assignments): 336 * 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.0009777/2.114, allocations: 354.7 kB / 1.189 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/2.116, allocations: 0.5277 MB / 1.189 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/2.123, allocations: 2.723 MB / 1.192 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/2.123, allocations: 12 kB / 1.192 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/2.123, allocations: 0 / 1.192 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004015/2.127, allocations: 2.333 MB / 1.194 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/2.141, allocations: 6.488 MB / 1.201 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/2.141, allocations: 4 kB / 1.201 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/2.143, allocations: 445.9 kB / 1.201 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/2.144, allocations: 164.7 kB / 1.201 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/2.144, allocations: 51.95 kB / 1.201 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/2.146, allocations: 3.02 MB / 1.204 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/2.146, allocations: 0 / 1.204 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/2.154, allocations: 4.054 MB / 1.208 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/2.157, allocations: 0.8797 MB / 1.209 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/2.158, allocations: 39.92 kB / 1.209 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/2.161, allocations: 130.1 kB / 1.209 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/2.162, allocations: 95.53 kB / 1.209 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/2.162, allocations: 63.97 kB / 1.209 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.008845/2.171, allocations: 4.477 MB / 1.214 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.01e-07/2.171, allocations: 0 / 1.214 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01099/2.182, allocations: 2.389 MB / 1.216 GB, free: 6.188 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 11 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.filter.s[1],fan1.filter.s[2],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 (138): * Single equations (assignments): 132 * 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.001861/2.183, allocations: 0.6772 MB / 1.217 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01307/2.197, allocations: 7.304 MB / 1.224 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/2.197, allocations: 0 / 1.224 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/2.199, allocations: 1.173 MB / 1.225 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01601/2.215, allocations: 3.035 MB / 1.228 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/2.237, allocations: 9.824 MB / 1.238 GB, free: 436 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003994/2.241, allocations: 3.179 MB / 1.241 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006511/2.247, allocations: 1.461 MB / 1.242 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/2.249, allocations: 375.3 kB / 1.243 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of SimCode: time 1.153e-06/2.249, allocations: 0 / 1.243 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of Templates: time 0.1886/2.438, allocations: 112.8 MB / 1.353 GB, free: 12.16 MB / 0.9981 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)