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.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 64.97 kB / 0.5054 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2119, allocations: 80.94 MB / 0.5845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.053/1.265, allocations: 323.4 MB / 0.9003 GB, free: 32.81 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02516/1.29, allocations: 20.19 MB / 0.9201 GB, free: 32.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/1.295, allocations: 93.69 kB / 0.9201 GB, free: 32.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004249/1.299, allocations: 1.514 MB / 0.9216 GB, free: 32.63 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.311, allocations: 4.218 MB / 0.9257 GB, free: 32.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007465/1.318, allocations: 2.337 MB / 0.928 GB, free: 32.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00963/1.328, allocations: 5.927 MB / 0.9338 GB, free: 32.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/1.332, allocations: 2.166 MB / 0.9359 GB, free: 32.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/1.342, allocations: 3.204 MB / 0.9391 GB, free: 32.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/1.347, allocations: 1.72 MB / 0.9407 GB, free: 31.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006125/1.347, allocations: 218.5 kB / 0.9409 GB, free: 31.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009286/1.357, allocations: 3.677 MB / 0.9445 GB, free: 31.78 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/1.358, allocations: 0.8721 MB / 0.9454 GB, free: 31.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002492/1.361, allocations: 1.33 MB / 0.9467 GB, free: 31.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.372, allocations: 4.69 MB / 0.9513 GB, free: 29.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.372, allocations: 0 / 0.9513 GB, free: 29.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.185e-06/1.372, allocations: 0 / 0.9513 GB, free: 29.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.122e-05/1.372, allocations: 4 kB / 0.9513 GB, free: 29.84 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.007756/1.379, allocations: 2.964 MB / 0.9542 GB, free: 28.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.379, allocations: 8.469 kB / 0.9542 GB, free: 28.09 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003006/1.38, allocations: 203.8 kB / 0.9544 GB, free: 28.01 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/1.386, allocations: 0.8377 MB / 0.9552 GB, free: 27.65 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/1.39, allocations: 1.851 MB / 0.957 GB, free: 26.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004225/1.391, allocations: 174.1 kB / 0.9572 GB, free: 26.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/1.391, allocations: 149.2 kB / 0.9573 GB, free: 26.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/1.395, allocations: 1.654 MB / 0.9589 GB, free: 25.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/1.395, allocations: 1.5 kB / 0.9589 GB, free: 25.36 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.395, allocations: 60.34 kB / 0.959 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/1.395, allocations: 50.55 kB / 0.959 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/1.398, allocations: 1.367 MB / 0.9604 GB, free: 24.65 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.01037/1.409, allocations: 7.913 MB / 0.9681 GB, free: 17.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/1.41, allocations: 1.004 MB / 0.9691 GB, free: 17.24 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.411, allocations: 494.7 kB / 0.9695 GB, free: 17.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.412, allocations: 116.9 kB / 0.9697 GB, free: 16.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.412, allocations: 41.75 kB / 0.9697 GB, free: 16.85 MB / 0.67 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/1.412, allocations: 2.969 kB / 0.9697 GB, free: 16.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=72): time 0.003942/1.416, allocations: 1.35 MB / 0.971 GB, free: 16.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.416, allocations: 60.78 kB / 0.9711 GB, free: 16.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/1.419, allocations: 1.801 MB / 0.9728 GB, free: 15.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/1.419, allocations: 46.98 kB / 0.9729 GB, free: 15.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/1.42, allocations: 0.9962 MB / 0.9738 GB, free: 14.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/1.42, allocations: 248.5 kB / 0.9741 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/1.42, allocations: 218 kB / 0.9743 GB, free: 13.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.421, allocations: 342.8 kB / 0.9746 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/1.422, allocations: 453 kB / 0.9751 GB, free: 13.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.423, allocations: 0.831 MB / 0.9759 GB, free: 12.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.425, allocations: 1.21 MB / 0.977 GB, free: 11.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/1.425, allocations: 8 kB / 0.9771 GB, free: 11.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00289/1.428, allocations: 1.406 MB / 0.9784 GB, free: 9.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.428, allocations: 13.72 kB / 0.9784 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.428, allocations: 12 kB / 0.9784 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/1.428, allocations: 20.34 kB / 0.9785 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.429, allocations: 273.5 kB / 0.9787 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002827/1.43, allocations: 0.6027 MB / 0.9793 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.431, allocations: 140.2 kB / 0.9795 GB, free: 8.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/1.431, allocations: 55.97 kB / 0.9795 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001517/1.433, allocations: 0.824 MB / 0.9803 GB, free: 7.941 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009362/1.434, allocations: 0.7884 MB / 0.9811 GB, free: 6.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001637/1.435, allocations: 1.114 MB / 0.9822 GB, free: 5.781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/1.435, allocations: 0 / 0.9822 GB, free: 5.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002461/1.438, allocations: 1.306 MB / 0.9834 GB, free: 4.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.438, allocations: 8 kB / 0.9834 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.438, allocations: 12 kB / 0.9835 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.438, allocations: 12.41 kB / 0.9835 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/1.439, allocations: 251.1 kB / 0.9837 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.439, allocations: 21.05 kB / 0.9837 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.44, allocations: 119.7 kB / 0.9838 GB, free: 4.129 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.44, allocations: 47.98 kB / 0.9839 GB, free: 4.082 MB / 0.67 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.0003327/1.441, allocations: 255.5 kB / 0.9841 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/1.441, allocations: 193.6 kB / 0.9843 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.443, allocations: 1.057 MB / 0.9854 GB, free: 2.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.444, allocations: 8 kB / 0.9854 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.444, allocations: 0 / 0.9854 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/1.445, allocations: 0.9002 MB / 0.9862 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/1.45, allocations: 2.869 MB / 0.989 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.45, allocations: 0 / 0.989 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.451, allocations: 207.6 kB / 0.9892 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/1.451, allocations: 7.938 kB / 0.9892 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/1.451, allocations: 27.91 kB / 0.9893 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003256/1.452, allocations: 0.5963 MB / 0.9899 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.452, allocations: 0 / 0.9899 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/1.455, allocations: 1.63 MB / 0.9914 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/1.456, allocations: 354.5 kB / 0.9918 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/1.456, allocations: 20 kB / 0.9918 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/1.457, allocations: 55.94 kB / 0.9919 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.457, allocations: 47.12 kB / 0.9919 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.457, allocations: 31.92 kB / 0.9919 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001905/1.459, allocations: 1.224 MB / 0.9931 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.459, allocations: 0 / 0.9931 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002644/1.462, allocations: 0.9619 MB / 0.9941 GB, free: 9.473 MB / 0.6856 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.004752/1.467, allocations: 2.434 MB / 0.9964 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004479/1.471, allocations: 1.679 MB / 0.9981 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.471, allocations: 2.625 kB / 0.9981 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.472, allocations: 464.2 kB / 0.9985 GB, free: 5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/1.477, allocations: 1.055 MB / 0.9996 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.501, allocations: 14.78 MB / 1.014 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.502, allocations: 1.566 MB / 1.016 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002309/1.504, allocations: 484.5 kB / 1.016 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.505, allocations: 0.8351 MB / 1.017 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of SimCode: time 1.322e-06/1.505, allocations: 0 / 1.017 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09828/1.604, allocations: 52.52 MB / 1.068 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.9, allocations: 7.875 kB / 1.068 GB, free: 13.39 MB / 0.7637 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)