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.001128/0.001128, 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.001132/0.001132, allocations: 193.3 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7499/0.7499, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.39 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6022/0.9405, allocations: 323.5 MB / 0.8961 GB, free: 37.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.9629, allocations: 20.21 MB / 0.9158 GB, free: 36.85 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.9659, allocations: 94.09 kB / 0.9159 GB, free: 36.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.9695, allocations: 1.502 MB / 0.9174 GB, free: 36.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009337/0.9789, allocations: 4.227 MB / 0.9215 GB, free: 35.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.9839, allocations: 2.333 MB / 0.9238 GB, free: 33.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006446/0.9904, allocations: 5.928 MB / 0.9296 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.9929, allocations: 2.152 MB / 0.9317 GB, free: 29.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.9984, allocations: 3.21 MB / 0.9348 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/1.001, allocations: 1.721 MB / 0.9365 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/1.002, allocations: 220 kB / 0.9367 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006114/1.008, allocations: 3.678 MB / 0.9403 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008115/1.009, allocations: 0.8674 MB / 0.9411 GB, free: 21.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/1.01, allocations: 1.333 MB / 0.9424 GB, free: 20 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006355/1.017, allocations: 4.687 MB / 0.947 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.017, allocations: 0 / 0.947 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/1.017, allocations: 0 / 0.947 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.69e-05/1.017, allocations: 0 / 0.947 GB, free: 15.55 MB / 0.6387 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.00386/1.02, allocations: 2.967 MB / 0.9499 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.021, allocations: 8.031 kB / 0.9499 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/1.021, allocations: 202.6 kB / 0.9501 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/1.026, allocations: 0.8345 MB / 0.9509 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/1.029, allocations: 1.855 MB / 0.9527 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/1.029, allocations: 166.6 kB / 0.9529 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.03, allocations: 146.8 kB / 0.953 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/1.032, allocations: 1.66 MB / 0.9547 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/1.032, allocations: 7.375 kB / 0.9547 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/1.032, allocations: 56 kB / 0.9547 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/1.032, allocations: 54.56 kB / 0.9548 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/1.035, allocations: 1.361 MB / 0.9561 GB, free: 6.16 MB / 0.6387 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.008413/1.044, allocations: 7.912 MB / 0.9638 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.046, allocations: 1 MB / 0.9648 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.047, allocations: 498.5 kB / 0.9653 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.047, allocations: 113.2 kB / 0.9654 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.047, allocations: 43.22 kB / 0.9654 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/1.047, allocations: 0 / 0.9654 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.00371/1.051, allocations: 1.35 MB / 0.9667 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.051, allocations: 56.06 kB / 0.9668 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/1.053, allocations: 1.805 MB / 0.9686 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.053, allocations: 52.59 kB / 0.9686 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/1.054, allocations: 0.9902 MB / 0.9696 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.054, allocations: 246.9 kB / 0.9698 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.055, allocations: 218.4 kB / 0.97 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.055, allocations: 341.9 kB / 0.9703 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.056, allocations: 456.6 kB / 0.9708 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.057, allocations: 0.842 MB / 0.9716 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.059, allocations: 1.205 MB / 0.9728 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/1.059, allocations: 4 kB / 0.9728 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003101/1.063, allocations: 1.409 MB / 0.9742 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.063, allocations: 12 kB / 0.9742 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.063, allocations: 8 kB / 0.9742 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.063, allocations: 16 kB / 0.9742 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.064, allocations: 276.5 kB / 0.9745 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003315/1.064, allocations: 0.6053 MB / 0.9751 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.066, allocations: 148.1 kB / 0.9752 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-05/1.066, allocations: 48.08 kB / 0.9752 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001543/1.067, allocations: 0.8259 MB / 0.976 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001136/1.068, allocations: 0.7936 MB / 0.9768 GB, free: 15.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001966/1.07, allocations: 1.114 MB / 0.9779 GB, free: 14.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/1.07, allocations: 0 / 0.9779 GB, free: 14.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002579/1.073, allocations: 1.308 MB / 0.9792 GB, free: 13.49 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.073, allocations: 11.94 kB / 0.9792 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.073, allocations: 12 kB / 0.9792 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.073, allocations: 12 kB / 0.9792 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/1.074, allocations: 249.2 kB / 0.9795 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.074, allocations: 18.28 kB / 0.9795 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.075, allocations: 112.6 kB / 0.9796 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/1.075, allocations: 51.98 kB / 0.9796 GB, free: 13.05 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.0002751/1.076, allocations: 244.4 kB / 0.9799 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/1.076, allocations: 197.5 kB / 0.9801 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.079, allocations: 1.059 MB / 0.9811 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.079, allocations: 8 kB / 0.9811 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.079, allocations: 0 / 0.9811 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002009/1.081, allocations: 0.9048 MB / 0.982 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/1.085, allocations: 2.873 MB / 0.9848 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.085, allocations: 0 / 0.9848 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.087, allocations: 207.5 kB / 0.985 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.087, allocations: 0 / 0.985 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/1.087, allocations: 23.97 kB / 0.985 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002707/1.087, allocations: 0.5937 MB / 0.9856 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.087, allocations: 0 / 0.9856 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/1.09, allocations: 1.636 MB / 0.9872 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/1.091, allocations: 358.5 kB / 0.9875 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.091, allocations: 19.98 kB / 0.9875 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/1.092, allocations: 51.95 kB / 0.9876 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.092, allocations: 52.44 kB / 0.9876 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/1.092, allocations: 30.78 kB / 0.9877 GB, free: 4.645 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001598/1.094, allocations: 1.22 MB / 0.9889 GB, free: 3.406 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 0.9889 GB, free: 3.406 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002131/1.096, allocations: 0.9545 MB / 0.9898 GB, free: 2.449 MB / 0.67 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.00431/1.1, allocations: 2.435 MB / 0.9922 GB, free: 8 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004271/1.105, allocations: 1.682 MB / 0.9938 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.105, allocations: 0 / 0.9938 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.106, allocations: 464.1 kB / 0.9943 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/1.11, allocations: 1.056 MB / 0.9953 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.131, allocations: 14.78 MB / 1.01 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.133, allocations: 1.562 MB / 1.011 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002025/1.135, allocations: 488.5 kB / 1.012 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.136, allocations: 0.8312 MB / 1.013 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of SimCode: time 7.01e-07/1.136, allocations: 0 / 1.013 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08986/1.225, allocations: 52.52 MB / 1.064 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.34, allocations: 11.08 kB / 1.064 GB, free: 6.438 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)