Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001343/0.001343, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001399/0.001399, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7943/0.7943, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 74.08 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan3.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6419/0.7694, allocations: 373.1 MB / 1.03 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5283/1.298, allocations: 47.67 MB / 1.076 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007075/1.305, allocations: 187.4 kB / 1.076 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008698/1.314, allocations: 3.101 MB / 1.08 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0236/1.337, allocations: 9.215 MB / 1.089 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01048/1.348, allocations: 4.321 MB / 1.093 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01706/1.365, allocations: 12.95 MB / 1.105 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006559/1.371, allocations: 4.529 MB / 1.11 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/1.387, allocations: 7.602 MB / 1.117 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0077/1.395, allocations: 4.106 MB / 1.121 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001598/1.396, allocations: 0.5433 MB / 1.122 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/1.411, allocations: 6.797 MB / 1.128 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003795/1.415, allocations: 2.574 MB / 1.131 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008503/1.424, allocations: 3.555 MB / 1.134 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/1.447, allocations: 11.84 MB / 1.146 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.447, allocations: 3.5 kB / 1.146 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/1.447, allocations: 0 / 1.146 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003842/1.447, allocations: 2.844 kB / 1.146 GB, free: 12.61 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.02019/1.468, allocations: 7.781 MB / 1.154 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.468, allocations: 8.828 kB / 1.154 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/1.477, allocations: 1.481 MB / 1.155 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/1.489, allocations: 6.303 MB / 1.161 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/1.489, allocations: 257.7 kB / 1.161 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/1.49, allocations: 338.1 kB / 1.162 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006234/1.496, allocations: 4.106 MB / 1.166 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.288e-05/1.496, allocations: 11.27 kB / 1.166 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/1.496, allocations: 120.3 kB / 1.166 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.434e-05/1.497, allocations: 111.3 kB / 1.166 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/1.501, allocations: 2.935 MB / 1.169 GB, free: 1.656 MB / 0.8262 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.02336/1.525, allocations: 18.12 MB / 1.187 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/1.529, allocations: 2.223 MB / 1.189 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/1.531, allocations: 1.256 MB / 1.19 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/1.531, allocations: 214 kB / 1.19 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/1.533, allocations: 1.76 MB / 1.192 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=168): time 4.739e-06/1.533, allocations: 0 / 1.192 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168): time 0.008293/1.542, allocations: 3.919 MB / 1.196 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.542, allocations: 73.41 kB / 1.196 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0094/1.551, allocations: 5.727 MB / 1.201 GB, free: 212 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/1.552, allocations: 85.64 kB / 1.201 GB, free: 120 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/1.554, allocations: 2.665 MB / 1.204 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009881/1.555, allocations: 0.6121 MB / 1.205 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.557, allocations: 0.6251 MB / 1.205 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/1.557, allocations: 301.1 kB / 1.206 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/1.56, allocations: 2.008 MB / 1.207 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/1.564, allocations: 3.147 MB / 1.211 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/1.57, allocations: 5.143 MB / 1.216 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.57, allocations: 8 kB / 1.216 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.009409/1.58, allocations: 5.927 MB / 1.221 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/1.58, allocations: 49.95 kB / 1.221 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/1.58, allocations: 32 kB / 1.221 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.581, allocations: 0.5826 MB / 1.222 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.584, allocations: 0.6175 MB / 1.223 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/1.587, allocations: 3.774 MB / 1.226 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.592, allocations: 353.7 kB / 1.227 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/1.592, allocations: 216 kB / 1.227 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00471/1.597, allocations: 2.962 MB / 1.23 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003182/1.6, allocations: 2.82 MB / 1.232 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005442/1.605, allocations: 4.484 MB / 1.237 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.878e-05/1.605, allocations: 8 kB / 1.237 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.009726/1.615, allocations: 5.321 MB / 1.242 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/1.615, allocations: 51.77 kB / 1.242 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.261e-05/1.615, allocations: 32 kB / 1.242 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/1.617, allocations: 0.6724 MB / 1.243 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/1.619, allocations: 0.6135 MB / 1.243 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.632, allocations: 9.58 MB / 1.253 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.637, allocations: 276.3 kB / 1.253 GB, free: 9.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005775/1.637, allocations: 188 kB / 1.253 GB, free: 9.457 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (312): * Single equations (assignments): 302 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 2 systems {(1,6), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.638, allocations: 372.8 kB / 1.254 GB, free: 9.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.64, allocations: 0.5393 MB / 1.254 GB, free: 8.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/1.646, allocations: 3.007 MB / 1.257 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003871/1.65, allocations: 2.637 MB / 1.26 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.65, allocations: 0 / 1.26 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.652, allocations: 0.8367 MB / 1.26 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.653, allocations: 40 kB / 1.26 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.656, allocations: 83.86 kB / 1.261 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/1.656, allocations: 129.8 kB / 1.261 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005796/1.662, allocations: 2.781 MB / 1.263 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00614/1.668, allocations: 4.243 MB / 1.268 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001465/1.67, allocations: 1.058 MB / 1.269 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.006828/1.676, allocations: 3.941 MB / 1.272 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of Backend: time 9.31e-07/1.677, allocations: 0 / 1.272 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01876/1.695, allocations: 7.138 MB / 1.279 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02438/1.72, allocations: 13.22 MB / 1.292 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of Templates: time 0.2101/1.93, allocations: 139.5 MB / 1.429 GB, free: 7.492 MB / 1.092 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)