Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00114/0.00114, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001137/0.001137, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7127/0.7127, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.14 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 80.92 MB / 0.6653 GB, free: 5.781 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 floMacSta.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 floMacDyn.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.FlowControlled_m_flow): time 0.5512/0.6708, allocations: 323.5 MB / 0.9812 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.6944, allocations: 20.2 MB / 1.001 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.6967, allocations: 91.5 kB / 1.001 GB, free: 7.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.7002, allocations: 1.55 MB / 1.003 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008646/0.7088, allocations: 4.383 MB / 1.007 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.7134, allocations: 2.337 MB / 1.009 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006257/0.7197, allocations: 5.944 MB / 1.015 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.7223, allocations: 2.156 MB / 1.017 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.7277, allocations: 3.321 MB / 1.02 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.7304, allocations: 1.716 MB / 1.022 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.7308, allocations: 224 kB / 1.022 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/0.7362, allocations: 3.691 MB / 1.026 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008699/0.7371, allocations: 0.8764 MB / 1.027 GB, free: 12.83 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.7386, allocations: 1.333 MB / 1.028 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.744, allocations: 4.74 MB / 1.033 GB, free: 6.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.744, allocations: 3.938 kB / 1.033 GB, free: 6.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.744, allocations: 0 / 1.033 GB, free: 6.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.269e-05/0.7441, allocations: 0 / 1.033 GB, free: 6.73 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004697/0.7488, allocations: 2.965 MB / 1.035 GB, free: 3.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.7488, allocations: 9.109 kB / 1.035 GB, free: 3.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.7539, allocations: 0.832 MB / 1.036 GB, free: 2.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.7571, allocations: 1.928 MB / 1.038 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.7572, allocations: 114.6 kB / 1.038 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.7574, allocations: 147.9 kB / 1.038 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.7603, allocations: 1.65 MB / 1.04 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.7603, allocations: 4 kB / 1.04 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.7604, allocations: 52 kB / 1.04 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.7605, allocations: 54.52 kB / 1.04 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.7634, allocations: 1.349 MB / 1.041 GB, free: 13.41 MB / 0.8106 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.008623/0.772, allocations: 7.861 MB / 1.049 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.7738, allocations: 0.995 MB / 1.05 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.7748, allocations: 491.5 kB / 1.051 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.775, allocations: 113.7 kB / 1.051 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.775, allocations: 39.22 kB / 1.051 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 3.106e-06/0.775, allocations: 0 / 1.051 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003196/0.7782, allocations: 1.335 MB / 1.052 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.7783, allocations: 64 kB / 1.052 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.7802, allocations: 1.801 MB / 1.054 GB, free: 8 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.2432/1.023, allocations: 41.05 kB / 1.054 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009435/1.024, allocations: 0.986 MB / 1.055 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/1.025, allocations: 256.2 kB / 1.055 GB, free: 315.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/1.025, allocations: 210.6 kB / 1.055 GB, free: 315.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/1.025, allocations: 343.2 kB / 1.056 GB, free: 314.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.026, allocations: 447.6 kB / 1.056 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/1.028, allocations: 0.8365 MB / 1.057 GB, free: 314 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/1.03, allocations: 1.203 MB / 1.058 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.03, allocations: 3.438 kB / 1.058 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00287/1.033, allocations: 1.4 MB / 1.059 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.033, allocations: 9.5 kB / 1.059 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.033, allocations: 9.5 kB / 1.059 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/1.033, allocations: 15.22 kB / 1.059 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.034, allocations: 277.2 kB / 1.06 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002405/1.034, allocations: 0.6065 MB / 1.06 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.035, allocations: 147.7 kB / 1.06 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/1.036, allocations: 52.14 kB / 1.06 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00143/1.037, allocations: 0.8101 MB / 1.061 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/1.038, allocations: 0.7885 MB / 1.062 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/1.04, allocations: 1.099 MB / 1.063 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/1.04, allocations: 6.344 kB / 1.063 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002598/1.042, allocations: 1.29 MB / 1.064 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.042, allocations: 10.19 kB / 1.064 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.042, allocations: 11.66 kB / 1.064 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.042, allocations: 18.3 kB / 1.064 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.043, allocations: 248.2 kB / 1.065 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/1.044, allocations: 21 kB / 1.065 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.045, allocations: 111.5 kB / 1.065 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.045, allocations: 48.39 kB / 1.065 GB, free: 309.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0002324/1.045, allocations: 252.3 kB / 1.065 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/1.045, allocations: 192.5 kB / 1.065 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.048, allocations: 1.05 MB / 1.066 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/1.049, allocations: 0.8855 MB / 1.067 GB, free: 308.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.05, allocations: 6.141 kB / 1.067 GB, free: 308.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/1.05, allocations: 360.4 kB / 1.067 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.05, allocations: 16.98 kB / 1.067 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009249/1.051, allocations: 51.95 kB / 1.068 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.051, allocations: 53.08 kB / 1.068 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002599/1.054, allocations: 1.051 MB / 1.069 GB, free: 308 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00296/1.057, allocations: 1.687 MB / 1.07 GB, free: 307.2 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008582/1.058, allocations: 423.7 kB / 1.071 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00154/1.059, allocations: 1.227 MB / 1.072 GB, free: 306.6 MB / 0.8106 GB Notification: Performance of Backend: time 5.61e-07/1.059, allocations: 1 kB / 1.072 GB, free: 306.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004809/1.064, allocations: 2.052 MB / 1.074 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of SimCode: time 0.006664/1.071, allocations: 4.611 MB / 1.078 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.05501/1.126, allocations: 48.9 MB / 1.126 GB, free: 264.6 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)