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.01206/0.01206, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.002836/0.002836, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.194/2.194, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.157/1.157, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 63.06 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2484, allocations: 80.22 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.184/1.432, allocations: 323.5 MB / 0.9751 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03175/1.464, allocations: 20.19 MB / 0.9948 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005717/1.47, allocations: 91.5 kB / 0.9949 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006234/1.476, allocations: 1.511 MB / 0.9964 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/1.49, allocations: 4.22 MB / 1.001 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/1.498, allocations: 2.343 MB / 1.003 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01113/1.509, allocations: 5.942 MB / 1.009 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005203/1.514, allocations: 2.158 MB / 1.011 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009411/1.523, allocations: 3.266 MB / 1.014 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/1.528, allocations: 1.723 MB / 1.016 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/1.529, allocations: 220 kB / 1.016 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009332/1.538, allocations: 3.683 MB / 1.019 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/1.541, allocations: 0.8764 MB / 1.02 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003669/1.544, allocations: 1.329 MB / 1.022 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/1.556, allocations: 4.748 MB / 1.026 GB, free: 13.81 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.556, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.355e-06/1.556, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001548/1.556, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.795 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.008385/1.565, allocations: 2.972 MB / 1.029 GB, free: 10.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.565, allocations: 8.031 kB / 1.029 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006206/1.565, allocations: 202.6 kB / 1.029 GB, free: 10.56 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006365/1.572, allocations: 0.8358 MB / 1.03 GB, free: 9.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/1.578, allocations: 1.912 MB / 1.032 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.578, allocations: 110.7 kB / 1.032 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006186/1.579, allocations: 151.9 kB / 1.032 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005042/1.584, allocations: 1.654 MB / 1.034 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/1.584, allocations: 3.906 kB / 1.034 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/1.584, allocations: 52 kB / 1.034 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/1.584, allocations: 66.5 kB / 1.034 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003972/1.588, allocations: 1.349 MB / 1.035 GB, free: 4.273 MB / 0.795 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.01523/1.604, allocations: 7.849 MB / 1.043 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/1.606, allocations: 0.9893 MB / 1.044 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.608, allocations: 495.5 kB / 1.044 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/1.608, allocations: 109.7 kB / 1.044 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.608, allocations: 43.2 kB / 1.045 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 3.948e-06/1.608, allocations: 0 / 1.045 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.004279/1.612, allocations: 1.335 MB / 1.046 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.612, allocations: 60.06 kB / 1.046 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/1.616, allocations: 1.794 MB / 1.048 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/1.617, allocations: 49.69 kB / 1.048 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.618, allocations: 0.9879 MB / 1.049 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/1.618, allocations: 248.3 kB / 1.049 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/1.619, allocations: 218.4 kB / 1.049 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.619, allocations: 349.9 kB / 1.049 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.62, allocations: 444.6 kB / 1.05 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/1.622, allocations: 0.8304 MB / 1.051 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/1.625, allocations: 1.199 MB / 1.052 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.625, allocations: 4 kB / 1.052 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003847/1.629, allocations: 1.401 MB / 1.053 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/1.629, allocations: 11.94 kB / 1.053 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.629, allocations: 16.34 kB / 1.053 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/1.629, allocations: 16 kB / 1.053 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.63, allocations: 269.1 kB / 1.053 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5839/2.214, allocations: 0.6096 MB / 1.054 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/2.218, allocations: 137.6 kB / 1.054 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/2.218, allocations: 53.06 kB / 1.054 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004354/2.223, allocations: 0.8171 MB / 1.055 GB, free: 317 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002652/2.225, allocations: 0.7787 MB / 1.056 GB, free: 316.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004551/2.23, allocations: 1.107 MB / 1.057 GB, free: 316.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-05/2.23, allocations: 3.562 kB / 1.057 GB, free: 316.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.006383/2.237, allocations: 1.294 MB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/2.237, allocations: 11.39 kB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/2.237, allocations: 9.469 kB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.991e-05/2.237, allocations: 14 kB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/2.239, allocations: 242.3 kB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.27e-05/2.239, allocations: 24.64 kB / 1.058 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/2.242, allocations: 116.7 kB / 1.059 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/2.242, allocations: 48.48 kB / 1.059 GB, free: 316.1 MB / 0.8106 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.0006946/2.243, allocations: 247 kB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/2.244, allocations: 195.5 kB / 1.059 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/2.25, allocations: 1.053 MB / 1.06 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/2.25, allocations: 10.12 kB / 1.06 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/2.25, allocations: 3.453 kB / 1.06 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/2.254, allocations: 0.8896 MB / 1.061 GB, free: 315.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/2.267, allocations: 2.842 MB / 1.064 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/2.267, allocations: 1.031 kB / 1.064 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/2.269, allocations: 212.6 kB / 1.064 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.925e-05/2.269, allocations: 4.672 kB / 1.064 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/2.269, allocations: 23.86 kB / 1.064 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004481/2.27, allocations: 0.5861 MB / 1.065 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/2.27, allocations: 3.875 kB / 1.065 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007668/2.277, allocations: 1.623 MB / 1.066 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/2.279, allocations: 358.4 kB / 1.066 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008126/2.28, allocations: 20.02 kB / 1.066 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/2.283, allocations: 51.44 kB / 1.067 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/2.283, allocations: 50.27 kB / 1.067 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/2.283, allocations: 28.41 kB / 1.067 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005148/2.288, allocations: 1.221 MB / 1.068 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.22e-07/2.288, allocations: 0 / 1.068 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007485/2.296, allocations: 0.9593 MB / 1.069 GB, free: 311.5 MB / 0.8106 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.009973/2.306, allocations: 2.421 MB / 1.071 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00755/2.314, allocations: 1.591 MB / 1.073 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/2.314, allocations: 5.375 kB / 1.073 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/2.316, allocations: 456 kB / 1.073 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/2.326, allocations: 1.05 MB / 1.074 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04985/2.376, allocations: 13.29 MB / 1.087 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/2.379, allocations: 1.567 MB / 1.089 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004345/2.383, allocations: 479 kB / 1.089 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.385, allocations: 0.8352 MB / 1.09 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.355e-06/2.385, allocations: 0 / 1.09 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/2.531, allocations: 53.74 MB / 1.142 GB, free: 250.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.52/31.05, allocations: 10.02 kB / 1.142 GB, free: 250.2 MB / 0.8106 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)