Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001222/0.001222, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001152/0.001152, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3713, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6206/0.992, allocations: 323.5 MB / 0.8974 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02778/1.02, allocations: 20.19 MB / 0.9171 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/1.023, allocations: 95.44 kB / 0.9172 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/1.027, allocations: 1.515 MB / 0.9187 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/1.037, allocations: 4.216 MB / 0.9228 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/1.043, allocations: 2.35 MB / 0.9251 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008601/1.052, allocations: 5.932 MB / 0.9309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/1.056, allocations: 2.158 MB / 0.933 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008276/1.064, allocations: 3.215 MB / 0.9361 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/1.068, allocations: 1.719 MB / 0.9378 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004157/1.068, allocations: 220 kB / 0.938 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007719/1.076, allocations: 3.683 MB / 0.9416 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.077, allocations: 0.8686 MB / 0.9425 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/1.079, allocations: 1.333 MB / 0.9438 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008597/1.088, allocations: 4.744 MB / 0.9484 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.088, allocations: 0 / 0.9484 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/1.088, allocations: 0 / 0.9484 GB, free: 11.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.72e-05/1.088, allocations: 0 / 0.9484 GB, free: 11.25 MB / 0.67 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.005136/1.093, allocations: 2.978 MB / 0.9513 GB, free: 8.211 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.093, allocations: 8.031 kB / 0.9513 GB, free: 8.203 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/1.098, allocations: 0.8359 MB / 0.9521 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/1.103, allocations: 1.916 MB / 0.954 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.103, allocations: 110.7 kB / 0.9541 GB, free: 5.262 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/1.103, allocations: 148 kB / 0.9542 GB, free: 5.117 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.107, allocations: 1.658 MB / 0.9559 GB, free: 3.391 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.107, allocations: 7.875 kB / 0.9559 GB, free: 3.383 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.107, allocations: 52 kB / 0.9559 GB, free: 3.332 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/1.107, allocations: 58.58 kB / 0.956 GB, free: 3.273 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/1.11, allocations: 1.349 MB / 0.9573 GB, free: 1.918 MB / 0.67 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.01177/1.122, allocations: 7.849 MB / 0.965 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/1.124, allocations: 0.9932 MB / 0.9659 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/1.125, allocations: 491.5 kB / 0.9664 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/1.125, allocations: 109.7 kB / 0.9665 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.125, allocations: 43.22 kB / 0.9665 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/1.125, allocations: 0 / 0.9665 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.003611/1.129, allocations: 1.335 MB / 0.9678 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.129, allocations: 64.05 kB / 0.9679 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.131, allocations: 1.794 MB / 0.9697 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.132, allocations: 45.7 kB / 0.9697 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008016/1.132, allocations: 0.9917 MB / 0.9707 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/1.133, allocations: 260.3 kB / 0.9709 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/1.133, allocations: 210.4 kB / 0.9711 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.133, allocations: 345.9 kB / 0.9715 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.134, allocations: 448.6 kB / 0.9719 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.135, allocations: 0.8342 MB / 0.9727 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/1.138, allocations: 1.2 MB / 0.9739 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.138, allocations: 4 kB / 0.9739 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003039/1.141, allocations: 1.401 MB / 0.9752 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.141, allocations: 14.69 kB / 0.9753 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.141, allocations: 12 kB / 0.9753 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/1.141, allocations: 12 kB / 0.9753 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.142, allocations: 277.1 kB / 0.9755 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003834/1.143, allocations: 0.6016 MB / 0.9761 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.144, allocations: 149.3 kB / 0.9763 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.144, allocations: 55.92 kB / 0.9763 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001644/1.146, allocations: 0.8188 MB / 0.9771 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.147, allocations: 0.7758 MB / 0.9779 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002014/1.149, allocations: 1.11 MB / 0.979 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/1.149, allocations: 0 / 0.979 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002855/1.152, allocations: 1.303 MB / 0.9802 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.152, allocations: 12 kB / 0.9802 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.152, allocations: 11.94 kB / 0.9803 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.152, allocations: 16 kB / 0.9803 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/1.153, allocations: 240 kB / 0.9805 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.153, allocations: 15.94 kB / 0.9805 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.155, allocations: 116.6 kB / 0.9806 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/1.155, allocations: 51.98 kB / 0.9807 GB, free: 8.562 MB / 0.7012 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.0003874/1.155, allocations: 246.4 kB / 0.9809 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.155, allocations: 189.6 kB / 0.9811 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/1.158, allocations: 1.059 MB / 0.9821 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.158, allocations: 8 kB / 0.9821 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.158, allocations: 0 / 0.9821 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/1.16, allocations: 0.8826 MB / 0.983 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/1.165, allocations: 2.845 MB / 0.9858 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.165, allocations: 4 kB / 0.9858 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.166, allocations: 207.8 kB / 0.986 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.166, allocations: 4 kB / 0.986 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/1.166, allocations: 19.98 kB / 0.986 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/1.166, allocations: 0.5937 MB / 0.9866 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.166, allocations: 4.031 kB / 0.9866 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/1.17, allocations: 1.622 MB / 0.9882 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/1.17, allocations: 354.5 kB / 0.9885 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/1.171, allocations: 20 kB / 0.9885 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.172, allocations: 63.86 kB / 0.9886 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.172, allocations: 48.44 kB / 0.9886 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/1.172, allocations: 31.98 kB / 0.9887 GB, free: 144 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00178/1.174, allocations: 1.224 MB / 0.9899 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.174, allocations: 0 / 0.9899 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002225/1.176, allocations: 0.9584 MB / 0.9908 GB, free: 13.94 MB / 0.7169 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.0007617/1.177, allocations: 356.3 kB / 0.9911 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.181, allocations: 1.586 MB / 0.9927 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.181, allocations: 8.062 kB / 0.9927 GB, free: 12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.182, allocations: 455.1 kB / 0.9931 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.186, allocations: 1.046 MB / 0.9941 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/1.191, allocations: 3.46 MB / 0.9975 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.192, allocations: 1.57 MB / 0.9991 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001711/1.194, allocations: 488.4 kB / 0.9995 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.194, allocations: 147.4 kB / 0.9997 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/1.194, allocations: 0 / 0.9997 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.3183/1.513, allocations: 37.97 MB / 1.037 GB, free: 328.7 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)