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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.001162/0.001162, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.3 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 80.21 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8669/1.009, allocations: 323.5 MB / 0.8961 GB, free: 31.76 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04001/1.049, allocations: 20.2 MB / 0.9158 GB, free: 31.64 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/1.052, allocations: 94.17 kB / 0.9159 GB, free: 31.64 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004313/1.057, allocations: 1.506 MB / 0.9174 GB, free: 31.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/1.068, allocations: 4.231 MB / 0.9215 GB, free: 31.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006053/1.074, allocations: 2.327 MB / 0.9238 GB, free: 31.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00894/1.083, allocations: 5.934 MB / 0.9296 GB, free: 31.39 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004207/1.087, allocations: 2.152 MB / 0.9317 GB, free: 31.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007315/1.094, allocations: 3.216 MB / 0.9348 GB, free: 31.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/1.098, allocations: 1.714 MB / 0.9365 GB, free: 30.9 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000817/1.099, allocations: 222.6 kB / 0.9367 GB, free: 30.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007685/1.106, allocations: 3.679 MB / 0.9403 GB, free: 30.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/1.108, allocations: 0.8688 MB / 0.9411 GB, free: 30.76 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/1.111, allocations: 1.334 MB / 0.9424 GB, free: 30.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008205/1.119, allocations: 4.686 MB / 0.947 GB, free: 29.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.119, allocations: 0 / 0.947 GB, free: 29.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/1.119, allocations: 2.938 kB / 0.947 GB, free: 29.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001182/1.119, allocations: 0 / 0.947 GB, free: 29.82 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.006364/1.125, allocations: 2.971 MB / 0.9499 GB, free: 28.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.125, allocations: 10.16 kB / 0.9499 GB, free: 28.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003861/1.126, allocations: 200.5 kB / 0.9501 GB, free: 28.03 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/1.131, allocations: 0.8345 MB / 0.9509 GB, free: 27.67 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/1.135, allocations: 1.849 MB / 0.9527 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/1.136, allocations: 172.7 kB / 0.9529 GB, free: 26.74 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/1.136, allocations: 146.5 kB / 0.953 GB, free: 26.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/1.139, allocations: 1.658 MB / 0.9546 GB, free: 26.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/1.139, allocations: 6.938 kB / 0.9547 GB, free: 26.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.139, allocations: 55.56 kB / 0.9547 GB, free: 26.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/1.139, allocations: 46.42 kB / 0.9548 GB, free: 26.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/1.142, allocations: 1.365 MB / 0.9561 GB, free: 25.66 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.008344/1.15, allocations: 7.926 MB / 0.9638 GB, free: 18.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.152, allocations: 1.007 MB / 0.9648 GB, free: 18.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.153, allocations: 498.3 kB / 0.9653 GB, free: 18.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.153, allocations: 105.8 kB / 0.9654 GB, free: 17.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.153, allocations: 44.73 kB / 0.9654 GB, free: 17.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/1.153, allocations: 4 kB / 0.9654 GB, free: 17.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=72): time 0.003548/1.157, allocations: 1.347 MB / 0.9667 GB, free: 17.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/1.157, allocations: 60.69 kB / 0.9668 GB, free: 17.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/1.159, allocations: 1.796 MB / 0.9686 GB, free: 16.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.159, allocations: 47.3 kB / 0.9686 GB, free: 16.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/1.16, allocations: 0.9933 MB / 0.9696 GB, free: 15.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/1.16, allocations: 253.5 kB / 0.9698 GB, free: 15.03 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/1.16, allocations: 211.7 kB / 0.97 GB, free: 14.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/1.16, allocations: 352.4 kB / 0.9704 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.161, allocations: 457 kB / 0.9708 GB, free: 14.35 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.163, allocations: 0.8329 MB / 0.9716 GB, free: 13.63 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/1.165, allocations: 1.209 MB / 0.9728 GB, free: 12.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.165, allocations: 2.188 kB / 0.9728 GB, free: 12.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003209/1.168, allocations: 1.41 MB / 0.9742 GB, free: 12.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.168, allocations: 11.66 kB / 0.9742 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.168, allocations: 9.344 kB / 0.9742 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.168, allocations: 17.83 kB / 0.9742 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.169, allocations: 273.3 kB / 0.9745 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002429/1.17, allocations: 0.6111 MB / 0.9751 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.171, allocations: 140.8 kB / 0.9752 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/1.171, allocations: 58.95 kB / 0.9752 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001754/1.173, allocations: 0.8151 MB / 0.976 GB, free: 10.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000985/1.174, allocations: 0.7849 MB / 0.9768 GB, free: 10.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/1.176, allocations: 1.118 MB / 0.9779 GB, free: 8.867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.449e-06/1.176, allocations: 4 kB / 0.9779 GB, free: 8.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002415/1.178, allocations: 1.308 MB / 0.9792 GB, free: 7.605 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.178, allocations: 12 kB / 0.9792 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/1.178, allocations: 8 kB / 0.9792 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.178, allocations: 16 kB / 0.9792 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/1.179, allocations: 251.5 kB / 0.9795 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/1.179, allocations: 25.05 kB / 0.9795 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.18, allocations: 112.6 kB / 0.9796 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/1.181, allocations: 47.94 kB / 0.9796 GB, free: 7.16 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.0002649/1.181, allocations: 248.1 kB / 0.9799 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.181, allocations: 193.6 kB / 0.9801 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/1.184, allocations: 1.069 MB / 0.9811 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.184, allocations: 8 kB / 0.9811 GB, free: 5.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.184, allocations: 4 kB / 0.9811 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/1.185, allocations: 0.8983 MB / 0.982 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/1.19, allocations: 2.867 MB / 0.9848 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.19, allocations: 0 / 0.9848 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.191, allocations: 211.7 kB / 0.985 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/1.191, allocations: 4 kB / 0.985 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/1.191, allocations: 19.98 kB / 0.985 GB, free: 1.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001652/1.191, allocations: 0.5884 MB / 0.9856 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.191, allocations: 4.031 kB / 0.9856 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/1.194, allocations: 1.623 MB / 0.9872 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/1.195, allocations: 366.5 kB / 0.9875 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.195, allocations: 15.94 kB / 0.9875 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.196, allocations: 63.84 kB / 0.9876 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.196, allocations: 44.5 kB / 0.9876 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/1.196, allocations: 23.98 kB / 0.9877 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001642/1.198, allocations: 1.224 MB / 0.9889 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.198, allocations: 2.531 kB / 0.9889 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002323/1.2, allocations: 0.9585 MB / 0.9898 GB, free: 12.55 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.004518/1.205, allocations: 2.44 MB / 0.9922 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00435/1.209, allocations: 1.684 MB / 0.9938 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.209, allocations: 0 / 0.9938 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.21, allocations: 461.8 kB / 0.9943 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.215, allocations: 1.045 MB / 0.9953 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.237, allocations: 14.79 MB / 1.01 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.238, allocations: 1.562 MB / 1.011 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002104/1.24, allocations: 480.5 kB / 1.012 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.241, allocations: 0.8312 MB / 1.013 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of SimCode: time 2.154e-06/1.241, allocations: 0 / 1.013 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6534/1.895, allocations: 52.53 MB / 1.064 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.85, allocations: 14.88 kB / 1.064 GB, free: 0.5469 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)