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.001127/0.001127, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001141/0.001141, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3852, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7021/1.087, allocations: 323.5 MB / 0.8974 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03035/1.118, allocations: 20.19 MB / 0.9171 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/1.123, allocations: 99.44 kB / 0.9172 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005125/1.128, allocations: 1.511 MB / 0.9187 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/1.14, allocations: 4.227 MB / 0.9228 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006085/1.146, allocations: 2.346 MB / 0.9251 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009532/1.155, allocations: 5.932 MB / 0.9309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/1.159, allocations: 2.158 MB / 0.933 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007607/1.167, allocations: 3.211 MB / 0.9361 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/1.17, allocations: 1.717 MB / 0.9378 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004596/1.171, allocations: 220 kB / 0.938 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007638/1.178, allocations: 3.687 MB / 0.9416 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.179, allocations: 0.8686 MB / 0.9425 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/1.181, allocations: 1.33 MB / 0.9438 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008303/1.19, allocations: 4.744 MB / 0.9484 GB, free: 11.29 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.19, allocations: 4 kB / 0.9484 GB, free: 11.29 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.924e-06/1.19, allocations: 0 / 0.9484 GB, free: 11.29 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.817e-05/1.19, allocations: 0 / 0.9484 GB, free: 11.29 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.005007/1.195, allocations: 2.97 MB / 0.9513 GB, free: 8.254 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.195, allocations: 8.031 kB / 0.9513 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/1.2, allocations: 0.832 MB / 0.9521 GB, free: 7.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/1.204, allocations: 1.92 MB / 0.954 GB, free: 5.414 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.954e-05/1.204, allocations: 110.7 kB / 0.9541 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/1.204, allocations: 152 kB / 0.9543 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/1.207, allocations: 1.646 MB / 0.9559 GB, free: 3.441 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/1.207, allocations: 11.81 kB / 0.9559 GB, free: 3.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.208, allocations: 56 kB / 0.9559 GB, free: 3.375 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/1.208, allocations: 50.56 kB / 0.956 GB, free: 3.324 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/1.211, allocations: 1.353 MB / 0.9573 GB, free: 1.965 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.0108/1.221, allocations: 7.857 MB / 0.965 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/1.223, allocations: 0.997 MB / 0.9659 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.224, allocations: 491.5 kB / 0.9664 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/1.225, allocations: 113.7 kB / 0.9665 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.225, allocations: 39.22 kB / 0.9666 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/1.225, allocations: 0 / 0.9666 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.003676/1.228, allocations: 1.335 MB / 0.9679 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.228, allocations: 56.06 kB / 0.9679 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.231, allocations: 1.797 MB / 0.9697 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.231, allocations: 49.7 kB / 0.9697 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/1.232, allocations: 0.9956 MB / 0.9707 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.232, allocations: 252.3 kB / 0.9709 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.233, allocations: 210.4 kB / 0.9711 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.233, allocations: 345.9 kB / 0.9715 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.234, allocations: 444.6 kB / 0.9719 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.235, allocations: 0.8342 MB / 0.9727 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/1.237, allocations: 1.203 MB / 0.9739 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.237, allocations: 4 kB / 0.9739 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003056/1.24, allocations: 1.405 MB / 0.9752 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.24, allocations: 8 kB / 0.9753 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.241, allocations: 8.406 kB / 0.9753 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.241, allocations: 20 kB / 0.9753 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.242, allocations: 273.1 kB / 0.9755 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/1.242, allocations: 0.5977 MB / 0.9761 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.244, allocations: 144.1 kB / 0.9763 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.244, allocations: 60.02 kB / 0.9763 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/1.245, allocations: 0.8188 MB / 0.9771 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/1.247, allocations: 0.7796 MB / 0.9779 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001865/1.248, allocations: 1.102 MB / 0.979 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.825e-06/1.249, allocations: 4 kB / 0.979 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002571/1.251, allocations: 1.303 MB / 0.9802 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.251, allocations: 10.66 kB / 0.9802 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.251, allocations: 16 kB / 0.9803 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.251, allocations: 12 kB / 0.9803 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/1.252, allocations: 243.7 kB / 0.9805 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.252, allocations: 23.94 kB / 0.9805 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.253, allocations: 116.6 kB / 0.9806 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/1.254, allocations: 51.92 kB / 0.9807 GB, free: 8.598 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.0003355/1.254, allocations: 248.5 kB / 0.9809 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.254, allocations: 193.6 kB / 0.9811 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.257, allocations: 1.044 MB / 0.9821 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.257, allocations: 8 kB / 0.9821 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.257, allocations: 4 kB / 0.9821 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001891/1.259, allocations: 0.8788 MB / 0.983 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/1.264, allocations: 2.857 MB / 0.9858 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.264, allocations: 4 kB / 0.9858 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.265, allocations: 203.8 kB / 0.986 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.265, allocations: 4 kB / 0.986 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/1.265, allocations: 23.97 kB / 0.986 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003249/1.265, allocations: 0.5937 MB / 0.9866 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.265, allocations: 0 / 0.9866 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/1.269, allocations: 1.622 MB / 0.9882 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/1.269, allocations: 354.5 kB / 0.9885 GB, free: 348 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.27, allocations: 16 kB / 0.9885 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/1.271, allocations: 55.89 kB / 0.9886 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.271, allocations: 56.42 kB / 0.9886 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/1.271, allocations: 23.98 kB / 0.9887 GB, free: 192 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001844/1.273, allocations: 1.224 MB / 0.9899 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.273, allocations: 7.938 kB / 0.9899 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00225/1.275, allocations: 0.9584 MB / 0.9908 GB, free: 13.98 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.0008473/1.276, allocations: 358.5 kB / 0.9911 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003789/1.28, allocations: 1.597 MB / 0.9927 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.28, allocations: 0 / 0.9927 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.281, allocations: 467.5 kB / 0.9931 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.285, allocations: 1.047 MB / 0.9942 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/1.291, allocations: 3.456 MB / 0.9975 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.292, allocations: 1.562 MB / 0.9991 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001862/1.294, allocations: 488.4 kB / 0.9995 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/1.294, allocations: 147.4 kB / 0.9997 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/1.294, allocations: 4 kB / 0.9997 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.3412/1.635, allocations: 37.97 MB / 1.037 GB, free: 328.5 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)