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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00767/0.00767, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001979/0.001979, allocations: 193.3 kB / 16.67 MB, free: 6.352 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.959/0.959, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.377, allocations: 81 MB / 0.6649 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6624/1.039, allocations: 323.5 MB / 0.9808 GB, free: 260 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02364/1.063, allocations: 20.23 MB / 1.001 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003373/1.067, allocations: 92.75 kB / 1.001 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/1.07, allocations: 1.511 MB / 1.002 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009609/1.08, allocations: 4.221 MB / 1.006 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/1.085, allocations: 2.346 MB / 1.008 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007464/1.093, allocations: 5.938 MB / 1.014 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/1.096, allocations: 2.154 MB / 1.016 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006351/1.102, allocations: 3.225 MB / 1.02 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.105, allocations: 1.714 MB / 1.021 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003661/1.105, allocations: 216 kB / 1.021 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006921/1.112, allocations: 3.686 MB / 1.025 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009828/1.113, allocations: 0.8804 MB / 1.026 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/1.115, allocations: 1.323 MB / 1.027 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007649/1.123, allocations: 4.772 MB / 1.032 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.123, allocations: 3.938 kB / 1.032 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/1.123, allocations: 0 / 1.032 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.796e-05/1.123, allocations: 4 kB / 1.032 GB, free: 3.137 MB / 0.7169 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.004906/1.128, allocations: 3.054 MB / 1.035 GB, free: 40 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.128, allocations: 8.031 kB / 1.035 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/1.128, allocations: 198.6 kB / 1.035 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/1.133, allocations: 0.8446 MB / 1.036 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/1.137, allocations: 1.941 MB / 1.038 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.137, allocations: 110.7 kB / 1.038 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/1.137, allocations: 147.9 kB / 1.038 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/1.14, allocations: 1.654 MB / 1.04 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/1.14, allocations: 0 / 1.04 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/1.14, allocations: 56 kB / 1.04 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/1.141, allocations: 46.58 kB / 1.04 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/1.144, allocations: 1.353 MB / 1.041 GB, free: 9.578 MB / 0.7325 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.01023/1.154, allocations: 7.868 MB / 1.049 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.156, allocations: 1.012 MB / 1.05 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.157, allocations: 488.1 kB / 1.05 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/1.157, allocations: 115.8 kB / 1.05 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.157, allocations: 39.22 kB / 1.05 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/1.157, allocations: 0 / 1.05 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72): time 0.003603/1.161, allocations: 1.34 MB / 1.052 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.161, allocations: 67.94 kB / 1.052 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/1.163, allocations: 1.797 MB / 1.053 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/1.163, allocations: 49.7 kB / 1.053 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008674/1.164, allocations: 1 MB / 1.054 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/1.165, allocations: 268 kB / 1.055 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/1.165, allocations: 218 kB / 1.055 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.165, allocations: 345.9 kB / 1.055 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.166, allocations: 444.6 kB / 1.056 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.168, allocations: 0.8304 MB / 1.056 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.17, allocations: 1.199 MB / 1.058 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.17, allocations: 4 kB / 1.058 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00304/1.173, allocations: 1.406 MB / 1.059 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.173, allocations: 10.34 kB / 1.059 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.173, allocations: 12 kB / 1.059 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.173, allocations: 12 kB / 1.059 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.175, allocations: 280 kB / 1.059 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004113/1.175, allocations: 0.6093 MB / 1.06 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.176, allocations: 150 kB / 1.06 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/1.176, allocations: 51.92 kB / 1.06 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001565/1.178, allocations: 0.8181 MB / 1.061 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/1.179, allocations: 0.7836 MB / 1.062 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002039/1.181, allocations: 1.098 MB / 1.063 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/1.181, allocations: 4 kB / 1.063 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00256/1.184, allocations: 1.304 MB / 1.064 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.184, allocations: 15.94 kB / 1.064 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.184, allocations: 8 kB / 1.064 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.184, allocations: 12.41 kB / 1.064 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/1.185, allocations: 251.6 kB / 1.064 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.185, allocations: 15.94 kB / 1.064 GB, free: 412 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/1.186, allocations: 116.8 kB / 1.064 GB, free: 296 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/1.186, allocations: 51.92 kB / 1.064 GB, free: 244 kB / 0.7481 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.000304/1.186, allocations: 250 kB / 1.065 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/1.187, allocations: 206.6 kB / 1.065 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.189, allocations: 1.054 MB / 1.066 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/1.189, allocations: 8 kB / 1.066 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.189, allocations: 0 / 1.066 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/1.191, allocations: 0.8866 MB / 1.067 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/1.196, allocations: 2.859 MB / 1.07 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.196, allocations: 4 kB / 1.07 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.197, allocations: 199.9 kB / 1.07 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.197, allocations: 4 kB / 1.07 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/1.197, allocations: 27.97 kB / 1.07 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003517/1.198, allocations: 0.5937 MB / 1.07 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.198, allocations: 4.031 kB / 1.07 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/1.201, allocations: 1.623 MB / 1.072 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/1.202, allocations: 371.5 kB / 1.072 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.202, allocations: 16 kB / 1.072 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/1.203, allocations: 51.95 kB / 1.072 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.203, allocations: 48.44 kB / 1.072 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/1.203, allocations: 35.97 kB / 1.073 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001681/1.205, allocations: 1.22 MB / 1.074 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.205, allocations: 0 / 1.074 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002227/1.207, allocations: 0.9667 MB / 1.075 GB, free: 5.598 MB / 0.7637 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.004426/1.211, allocations: 2.437 MB / 1.077 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003876/1.215, allocations: 1.597 MB / 1.079 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.215, allocations: 0 / 1.079 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.216, allocations: 459.5 kB / 1.079 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.221, allocations: 1.044 MB / 1.08 GB, free: 84 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.242, allocations: 13.35 MB / 1.093 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.244, allocations: 1.566 MB / 1.095 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001802/1.245, allocations: 484.5 kB / 1.095 GB, free: 212 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.247, allocations: 0.8328 MB / 1.096 GB, free: 15.38 MB / 0.795 GB Notification: Performance of SimCode: time 9.02e-07/1.247, allocations: 0 / 1.096 GB, free: 15.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09808/1.345, allocations: 52.83 MB / 1.147 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.58, allocations: 11.94 kB / 1.147 GB, free: 11.1 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)