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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 172.5 kB / 7.646 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.8958/0.8958, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.437/1.437, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.0009391/0.000939, allocations: 106.5 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.803e-05, allocations: 4 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4663, allocations: 82.31 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.722/5.188, allocations: 1.908 GB / 2.542 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/5.189, allocations: 95.28 kB / 2.542 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.678/11.87, allocations: 1.655 GB / 4.196 GB, free: 68.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/11.87, allocations: 0 / 4.196 GB, free: 68.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005431/11.87, allocations: 56.25 kB / 4.196 GB, free: 68.4 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.01042/11.88, allocations: 2.526 MB / 4.199 GB, free: 66.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/11.88, allocations: 6.781 kB / 4.199 GB, free: 66.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008693/11.89, allocations: 0.8154 MB / 4.2 GB, free: 66.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/11.9, allocations: 2.661 MB / 4.202 GB, free: 65.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/11.9, allocations: 42.38 kB / 4.202 GB, free: 65.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/11.9, allocations: 97.22 kB / 4.202 GB, free: 65.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004942/11.9, allocations: 1.116 MB / 4.203 GB, free: 64.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/11.91, allocations: 1.321 MB / 4.205 GB, free: 64.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/11.91, allocations: 0 / 4.205 GB, free: 64.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/11.91, allocations: 10.34 kB / 4.205 GB, free: 64.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.72e-05/11.91, allocations: 50.25 kB / 4.205 GB, free: 64.34 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.01474/11.92, allocations: 7.142 MB / 4.212 GB, free: 58.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/11.93, allocations: 0.9735 MB / 4.213 GB, free: 57.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/11.93, allocations: 419.1 kB / 4.213 GB, free: 56.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/11.93, allocations: 113.4 kB / 4.213 GB, free: 56.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/11.93, allocations: 55.3 kB / 4.213 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001701/11.93, allocations: 191.2 kB / 4.213 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 6.663e-06/11.93, allocations: 3.609 kB / 4.213 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.004177/11.93, allocations: 1.029 MB / 4.214 GB, free: 55.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/11.93, allocations: 60.19 kB / 4.215 GB, free: 55.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/11.94, allocations: 1.298 MB / 4.216 GB, free: 53.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/11.94, allocations: 29.7 kB / 4.216 GB, free: 53.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/11.94, allocations: 0.9797 MB / 4.217 GB, free: 52.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/11.94, allocations: 260.1 kB / 4.217 GB, free: 52.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/11.94, allocations: 0 / 4.217 GB, free: 52.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001147/11.94, allocations: 349.9 kB / 4.217 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007726/11.94, allocations: 334.5 kB / 4.218 GB, free: 51.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/11.94, allocations: 0.7504 MB / 4.218 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/11.94, allocations: 0.4907 MB / 4.219 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/11.94, allocations: 4 kB / 4.219 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004413/11.95, allocations: 1.288 MB / 4.22 GB, free: 49.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/11.95, allocations: 3.946 MB / 4.224 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/11.95, allocations: 8 kB / 4.224 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/11.95, allocations: 104.8 kB / 4.224 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/11.95, allocations: 255.6 kB / 4.224 GB, free: 44.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/11.95, allocations: 2.252 MB / 4.227 GB, free: 42.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/11.96, allocations: 115.7 kB / 4.227 GB, free: 42.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/11.96, allocations: 59.97 kB / 4.227 GB, free: 42.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/11.96, allocations: 4 kB / 4.227 GB, free: 42.06 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00355/11.96, allocations: 0.9915 MB / 4.228 GB, free: 41.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/11.96, allocations: 12 kB / 4.228 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/11.96, allocations: 105.1 kB / 4.228 GB, free: 40.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/11.96, allocations: 231.6 kB / 4.228 GB, free: 40.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/11.96, allocations: 1.666 MB / 4.23 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/11.97, allocations: 119.7 kB / 4.23 GB, free: 38.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/11.97, allocations: 55.92 kB / 4.23 GB, free: 38.78 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.0005328/11.97, allocations: 138.1 kB / 4.23 GB, free: 38.64 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003534/11.97, allocations: 0.9392 MB / 4.231 GB, free: 37.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/11.97, allocations: 189.6 kB / 4.231 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/11.98, allocations: 1.02 MB / 4.232 GB, free: 36.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/11.98, allocations: 12 kB / 4.232 GB, free: 36.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/11.98, allocations: 0 / 4.232 GB, free: 36.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002525/11.98, allocations: 0.8629 MB / 4.233 GB, free: 35.57 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.00813/11.99, allocations: 2.687 MB / 4.236 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/11.99, allocations: 4 kB / 4.236 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/11.99, allocations: 187.9 kB / 4.236 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/11.99, allocations: 88.27 kB / 4.236 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/11.99, allocations: 7.984 kB / 4.236 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/11.99, allocations: 2.19 MB / 4.238 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/11.99, allocations: 4 kB / 4.238 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/12, allocations: 1.588 MB / 4.24 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/12, allocations: 334.7 kB / 4.24 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/12, allocations: 0 / 4.24 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/12, allocations: 119.7 kB / 4.24 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/12, allocations: 56.64 kB / 4.24 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/12, allocations: 31.97 kB / 4.24 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00225/12, allocations: 0.9752 MB / 4.241 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/12, allocations: 3.938 kB / 4.241 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005495/12.01, allocations: 1.298 MB / 4.242 GB, free: 25.65 MB / 0.7292 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.008782/12.02, allocations: 6.721 MB / 4.249 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003013/12.02, allocations: 1.62 MB / 4.25 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/12.02, allocations: 4 kB / 4.25 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/12.02, allocations: 497.1 kB / 4.251 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/12.02, allocations: 0.8652 MB / 4.252 GB, free: 16.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/12.03, allocations: 3.115 MB / 4.255 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000992/12.03, allocations: 1.617 MB / 4.256 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002891/12.03, allocations: 0.6625 MB / 4.257 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/12.04, allocations: 0.8078 MB / 4.258 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of SimCode: time 1.292e-06/12.04, allocations: 4 kB / 4.258 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.668/12.7, allocations: 78.14 MB / 4.334 GB, free: 68.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/12.7, allocations: 164.5 kB / 4.334 GB, free: 68.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/17.8, allocations: 3.844 kB / 4.334 GB, free: 68.71 MB / 0.7448 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/linux/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)