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.001252/0.001252, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001092/0.001092, allocations: 189.5 kB / 17.34 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8003/0.8003, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.69 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 80.93 MB / 0.6653 GB, free: 5.77 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.711/0.8636, allocations: 323.5 MB / 0.9812 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03128/0.8949, allocations: 20.2 MB / 1.001 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.8995, allocations: 91.5 kB / 1.001 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005158/0.9047, allocations: 1.511 MB / 1.003 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.9175, allocations: 4.227 MB / 1.007 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006461/0.924, allocations: 2.338 MB / 1.009 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00994/0.934, allocations: 5.936 MB / 1.015 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.9379, allocations: 2.157 MB / 1.017 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008395/0.9463, allocations: 3.266 MB / 1.02 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004316/0.9507, allocations: 1.71 MB / 1.022 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.9514, allocations: 216 kB / 1.022 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008111/0.9595, allocations: 3.695 MB / 1.025 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.9611, allocations: 0.8764 MB / 1.026 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.9633, allocations: 1.318 MB / 1.028 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.9735, allocations: 4.748 MB / 1.032 GB, free: 6.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.9735, allocations: 0 / 1.032 GB, free: 6.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.299e-06/0.9736, allocations: 0 / 1.032 GB, free: 6.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.944e-05/0.9736, allocations: 7.938 kB / 1.032 GB, free: 6.773 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.00569/0.9793, allocations: 2.967 MB / 1.035 GB, free: 3.742 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.9794, allocations: 9.109 kB / 1.035 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.985, allocations: 0.832 MB / 1.036 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.9891, allocations: 1.92 MB / 1.038 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.9892, allocations: 106.7 kB / 1.038 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.9895, allocations: 155.9 kB / 1.038 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.9927, allocations: 1.654 MB / 1.04 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.9928, allocations: 4 kB / 1.04 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.9929, allocations: 56 kB / 1.04 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.993, allocations: 46.58 kB / 1.04 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.996, allocations: 1.357 MB / 1.041 GB, free: 13.45 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.01075/1.007, allocations: 7.849 MB / 1.049 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/1.009, allocations: 0.9962 MB / 1.05 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.01, allocations: 495.5 kB / 1.05 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.01, allocations: 113.7 kB / 1.05 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/1.01, allocations: 47.16 kB / 1.05 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 3.015e-06/1.01, allocations: 3.938 kB / 1.05 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003563/1.014, allocations: 1.335 MB / 1.052 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.014, allocations: 60.06 kB / 1.052 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.016, allocations: 1.794 MB / 1.054 GB, free: 56 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.016, allocations: 45.7 kB / 1.054 GB, free: 4 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.4164/1.433, allocations: 0.9856 MB / 1.055 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/1.433, allocations: 257.2 kB / 1.055 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/1.434, allocations: 212.8 kB / 1.055 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.434, allocations: 347.2 kB / 1.055 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/1.435, allocations: 456.6 kB / 1.056 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.436, allocations: 0.8362 MB / 1.057 GB, free: 313.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/1.439, allocations: 1.193 MB / 1.058 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-06/1.439, allocations: 3.469 kB / 1.058 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00339/1.442, allocations: 1.4 MB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.442, allocations: 9.75 kB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.442, allocations: 8.5 kB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/1.442, allocations: 16.28 kB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.444, allocations: 273.7 kB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002885/1.444, allocations: 0.6055 MB / 1.06 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.445, allocations: 143.7 kB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.446, allocations: 52.77 kB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001715/1.447, allocations: 0.8219 MB / 1.061 GB, free: 311.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001158/1.448, allocations: 0.7785 MB / 1.062 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002023/1.45, allocations: 1.1 MB / 1.063 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.147e-06/1.451, allocations: 2.438 kB / 1.063 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003347/1.454, allocations: 1.293 MB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.454, allocations: 11.05 kB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.454, allocations: 9.375 kB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/1.454, allocations: 14.69 kB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.455, allocations: 246.2 kB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/1.455, allocations: 22.89 kB / 1.064 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.457, allocations: 116.2 kB / 1.064 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/1.457, allocations: 49.58 kB / 1.065 GB, free: 309.6 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.0003666/1.457, allocations: 252 kB / 1.065 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/1.457, allocations: 193.7 kB / 1.065 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/1.46, allocations: 1.048 MB / 1.066 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.46, allocations: 7.375 kB / 1.066 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.46, allocations: 0.6562 kB / 1.066 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/1.462, allocations: 0.8879 MB / 1.067 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/1.468, allocations: 2.847 MB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.468, allocations: 0.7031 kB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.469, allocations: 213.9 kB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.469, allocations: 9.125 kB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.469, allocations: 18.94 kB / 1.07 GB, free: 307 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002141/1.469, allocations: 0.5896 MB / 1.07 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.469, allocations: 2.125 kB / 1.07 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/1.473, allocations: 1.621 MB / 1.072 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.474, allocations: 364.5 kB / 1.072 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/1.474, allocations: 13.91 kB / 1.072 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.475, allocations: 59.91 kB / 1.072 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.476, allocations: 42.56 kB / 1.072 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/1.476, allocations: 29.59 kB / 1.073 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002226/1.478, allocations: 1.224 MB / 1.074 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/1.478, allocations: 8.625 kB / 1.074 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003682/1.482, allocations: 0.953 MB / 1.075 GB, free: 304.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (74): * Single equations (assignments): 73 * 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.001164/1.483, allocations: 361.1 kB / 1.075 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004644/1.487, allocations: 1.601 MB / 1.077 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.487, allocations: 1 kB / 1.077 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/1.489, allocations: 461.7 kB / 1.077 GB, free: 304 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/1.495, allocations: 1.044 MB / 1.078 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/1.502, allocations: 3.586 MB / 1.082 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.503, allocations: 1.563 MB / 1.083 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.504, allocations: 161 kB / 1.083 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/1.504, allocations: 0 / 1.083 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.04973/1.553, allocations: 43.61 MB / 1.126 GB, free: 264 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)