Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.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_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_dp",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.001457/0.001457, allocations: 173.7 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.7863/0.7863, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.432/1.432, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0008943/0.0008943, allocations: 101.2 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.069e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5159, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.66, allocations: 1.908 GB / 2.542 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/5.66, allocations: 91.52 kB / 2.542 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.41/12.07, allocations: 1.655 GB / 4.197 GB, free: 46.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/12.07, allocations: 4 kB / 4.197 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000485/12.07, allocations: 74.66 kB / 4.197 GB, free: 46.83 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008603/12.08, allocations: 2.518 MB / 4.199 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/12.08, allocations: 15.97 kB / 4.199 GB, free: 44.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/12.09, allocations: 0.8162 MB / 4.2 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009439/12.09, allocations: 2.681 MB / 4.203 GB, free: 40.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/12.09, allocations: 44 kB / 4.203 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/12.1, allocations: 92 kB / 4.203 GB, free: 40.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002066/12.1, allocations: 1.126 MB / 4.204 GB, free: 39.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/12.1, allocations: 1.348 MB / 4.205 GB, free: 38.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/12.1, allocations: 0 / 4.205 GB, free: 38.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/12.1, allocations: 0 / 4.205 GB, free: 38.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/12.1, allocations: 46.64 kB / 4.205 GB, free: 38.02 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.009507/12.11, allocations: 7.207 MB / 4.212 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/12.11, allocations: 0.9872 MB / 4.213 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/12.11, allocations: 427.1 kB / 4.214 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/12.11, allocations: 112 kB / 4.214 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/12.11, allocations: 51.3 kB / 4.214 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/12.11, allocations: 123.2 kB / 4.214 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 3.156e-06/12.11, allocations: 0 / 4.214 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.002621/12.11, allocations: 1.085 MB / 4.215 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/12.11, allocations: 60.19 kB / 4.215 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/12.12, allocations: 1.291 MB / 4.216 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/12.12, allocations: 29.7 kB / 4.216 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/12.12, allocations: 0.9916 MB / 4.217 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/12.12, allocations: 275.8 kB / 4.218 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/12.12, allocations: 0 / 4.218 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/12.12, allocations: 345.9 kB / 4.218 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/12.12, allocations: 338.5 kB / 4.218 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/12.12, allocations: 0.7503 MB / 4.219 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/12.12, allocations: 0.4907 MB / 4.22 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/12.12, allocations: 4 kB / 4.22 GB, free: 22.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002677/12.12, allocations: 1.358 MB / 4.221 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008713/12.12, allocations: 3.941 MB / 4.225 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/12.12, allocations: 12 kB / 4.225 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/12.12, allocations: 137.6 kB / 4.225 GB, free: 16.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/12.12, allocations: 267.6 kB / 4.225 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/12.13, allocations: 3.387 MB / 4.228 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/12.13, allocations: 112 kB / 4.229 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/12.13, allocations: 59.98 kB / 4.229 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/12.13, allocations: 8.719 kB / 4.229 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/12.13, allocations: 1.118 MB / 4.23 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/12.13, allocations: 12.28 kB / 4.23 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/12.13, allocations: 133.6 kB / 4.23 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/12.13, allocations: 239.6 kB / 4.23 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/12.14, allocations: 3.059 MB / 4.233 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/12.14, allocations: 103.8 kB / 4.233 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/12.14, allocations: 51.98 kB / 4.233 GB, free: 7.961 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003984/12.14, allocations: 140.7 kB / 4.233 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002251/12.14, allocations: 0.995 MB / 4.234 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/12.14, allocations: 193.6 kB / 4.235 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/12.14, allocations: 1.147 MB / 4.236 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/12.14, allocations: 8 kB / 4.236 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/12.14, allocations: 4 kB / 4.236 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001735/12.15, allocations: 0.9819 MB / 4.237 GB, free: 4.395 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.005352/12.15, allocations: 2.727 MB / 4.239 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/12.15, allocations: 7.938 kB / 4.239 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/12.15, allocations: 203.7 kB / 4.239 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/12.15, allocations: 113.6 kB / 4.24 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/12.15, allocations: 11.98 kB / 4.24 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/12.16, allocations: 4.684 MB / 4.244 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/12.16, allocations: 0 / 4.244 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/12.16, allocations: 1.716 MB / 4.246 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/12.16, allocations: 338.5 kB / 4.246 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/12.16, allocations: 4 kB / 4.246 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/12.16, allocations: 115.7 kB / 4.246 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/12.16, allocations: 56.7 kB / 4.246 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/12.16, allocations: 39.97 kB / 4.246 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001876/12.16, allocations: 0.9795 MB / 4.247 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/12.16, allocations: 0 / 4.247 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005111/12.17, allocations: 1.318 MB / 4.249 GB, free: 7.551 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009767/12.18, allocations: 6.847 MB / 4.255 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.5281/12.71, allocations: 1.77 MB / 4.257 GB, free: 84.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/12.71, allocations: 0.75 kB / 4.257 GB, free: 84.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/12.71, allocations: 0.6245 MB / 4.258 GB, free: 84.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/12.71, allocations: 0.8811 MB / 4.258 GB, free: 84.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/12.72, allocations: 3.139 MB / 4.262 GB, free: 83.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/12.72, allocations: 1.633 MB / 4.263 GB, free: 82.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003382/12.73, allocations: 0.6609 MB / 4.264 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/12.73, allocations: 0.8141 MB / 4.265 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of SimCode: time 1.182e-06/12.73, allocations: 2.438 kB / 4.265 GB, free: 82.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1806/12.91, allocations: 79.26 MB / 4.342 GB, free: 79.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/12.91, allocations: 158.8 kB / 4.342 GB, free: 79.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.08/17.99, allocations: 0 / 4.342 GB, free: 79.52 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_FlowControlled_dp.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)