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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8304/0.8304, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009442, allocations: 104.9 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.315e-05, allocations: 4.219 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4665, allocations: 82.29 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.618/6.085, allocations: 1.908 GB / 2.542 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/6.085, allocations: 85.83 kB / 2.542 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.458/12.54, allocations: 1.655 GB / 4.196 GB, free: 48.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/12.54, allocations: 0 / 4.196 GB, free: 48.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003998/12.54, allocations: 63.83 kB / 4.196 GB, free: 48.26 MB / 0.7292 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.008127/12.55, allocations: 2.517 MB / 4.199 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/12.55, allocations: 8.031 kB / 4.199 GB, free: 45.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/12.56, allocations: 0.8125 MB / 4.2 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008102/12.57, allocations: 2.673 MB / 4.202 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/12.57, allocations: 40 kB / 4.202 GB, free: 42.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006134/12.57, allocations: 92 kB / 4.202 GB, free: 42.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002846/12.57, allocations: 1.114 MB / 4.203 GB, free: 40.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/12.57, allocations: 1.325 MB / 4.205 GB, free: 39.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/12.57, allocations: 3.938 kB / 4.205 GB, free: 39.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/12.57, allocations: 8 kB / 4.205 GB, free: 39.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/12.57, allocations: 46.61 kB / 4.205 GB, free: 39.5 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01075/12.58, allocations: 7.148 MB / 4.212 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/12.58, allocations: 0.9672 MB / 4.213 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/12.58, allocations: 435 kB / 4.213 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/12.59, allocations: 108.7 kB / 4.213 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/12.59, allocations: 43.34 kB / 4.213 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/12.59, allocations: 191.2 kB / 4.213 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 4.739e-06/12.59, allocations: 0 / 4.213 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.002755/12.59, allocations: 1.032 MB / 4.214 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/12.59, allocations: 60.19 kB / 4.215 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/12.59, allocations: 1.29 MB / 4.216 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/12.59, allocations: 29.7 kB / 4.216 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/12.59, allocations: 0.9864 MB / 4.217 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/12.59, allocations: 264 kB / 4.217 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/12.59, allocations: 0 / 4.217 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000101/12.59, allocations: 345.9 kB / 4.217 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/12.59, allocations: 334.5 kB / 4.218 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/12.59, allocations: 0.7502 MB / 4.218 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/12.59, allocations: 494.5 kB / 4.219 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/12.6, allocations: 7.938 kB / 4.219 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003058/12.6, allocations: 1.296 MB / 4.22 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/12.6, allocations: 3.937 MB / 4.224 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/12.6, allocations: 12 kB / 4.224 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/12.6, allocations: 108.7 kB / 4.224 GB, free: 18.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/12.6, allocations: 255.6 kB / 4.224 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/12.6, allocations: 2.256 MB / 4.227 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/12.61, allocations: 103.8 kB / 4.227 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/12.61, allocations: 63.97 kB / 4.227 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/12.61, allocations: 4 kB / 4.227 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/12.61, allocations: 0.9954 MB / 4.228 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/12.61, allocations: 8 kB / 4.228 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/12.61, allocations: 109 kB / 4.228 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/12.61, allocations: 235.8 kB / 4.228 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/12.61, allocations: 1.662 MB / 4.23 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/12.61, allocations: 119.6 kB / 4.23 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/12.61, allocations: 51.92 kB / 4.23 GB, free: 12.5 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003538/12.61, allocations: 134.8 kB / 4.23 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002287/12.62, allocations: 0.9448 MB / 4.231 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/12.62, allocations: 185.7 kB / 4.231 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/12.62, allocations: 1.016 MB / 4.232 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/12.62, allocations: 8 kB / 4.232 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/12.62, allocations: 4 kB / 4.232 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/12.62, allocations: 0.8707 MB / 4.233 GB, free: 9.285 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.005783/12.63, allocations: 2.678 MB / 4.236 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/12.63, allocations: 4 kB / 4.236 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/12.63, allocations: 191.7 kB / 4.236 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/12.63, allocations: 84.86 kB / 4.236 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/12.63, allocations: 19.94 kB / 4.236 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/12.63, allocations: 2.182 MB / 4.238 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/12.63, allocations: 0 / 4.238 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/12.63, allocations: 1.6 MB / 4.24 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/12.63, allocations: 326.7 kB / 4.24 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/12.63, allocations: 11.98 kB / 4.24 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/12.64, allocations: 111.7 kB / 4.24 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/12.64, allocations: 56.66 kB / 4.24 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/12.64, allocations: 39.91 kB / 4.24 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00164/12.64, allocations: 0.9752 MB / 4.241 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/12.64, allocations: 0 / 4.241 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005469/12.64, allocations: 1.306 MB / 4.242 GB, free: 15.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/12.65, allocations: 6.715 MB / 4.249 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003389/12.66, allocations: 1.616 MB / 4.25 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/12.66, allocations: 0 / 4.25 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/12.66, allocations: 493.7 kB / 4.251 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/12.66, allocations: 0.8754 MB / 4.252 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/12.67, allocations: 3.126 MB / 4.255 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/12.67, allocations: 1.613 MB / 4.256 GB, free: 492 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.534/13.21, allocations: 0.6604 MB / 4.257 GB, free: 81.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/13.21, allocations: 0.8087 MB / 4.258 GB, free: 81.76 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/13.21, allocations: 2.969 kB / 4.258 GB, free: 81.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/13.35, allocations: 78.14 MB / 4.334 GB, free: 79.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/13.35, allocations: 182.6 kB / 4.334 GB, free: 79.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.92/18.27, allocations: 0 / 4.334 GB, free: 79.11 MB / 0.7448 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/linux/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)