Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8112/0.8112, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 171.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.001015/0.001015, allocations: 84.33 kB / 0.5187 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 264.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 22.16 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.581, allocations: 402.9 MB / 1.167 GB, free: 265.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.581, allocations: 96.69 kB / 1.167 GB, free: 265.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.486/3.067, allocations: 0.5211 GB / 1.688 GB, free: 40.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/3.067, allocations: 0 / 1.688 GB, free: 40.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002484/3.068, allocations: 43.88 kB / 1.688 GB, free: 40.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006281/3.074, allocations: 1.971 MB / 1.69 GB, free: 38.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/3.074, allocations: 8.031 kB / 1.69 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004853/3.074, allocations: 155.5 kB / 1.69 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/3.075, allocations: 170 kB / 1.691 GB, free: 38.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05554/3.131, allocations: 27.73 MB / 1.718 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/3.131, allocations: 95.7 kB / 1.718 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/3.131, allocations: 95.98 kB / 1.718 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/3.134, allocations: 1.131 MB / 1.719 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/3.134, allocations: 4 kB / 1.719 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/3.134, allocations: 36 kB / 1.719 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/3.134, allocations: 41.98 kB / 1.719 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/3.135, allocations: 0.847 MB / 1.72 GB, free: 7.941 MB / 0.7136 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.006121/3.141, allocations: 4.642 MB / 1.724 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/3.142, allocations: 0.5474 MB / 1.725 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/3.143, allocations: 0.9227 MB / 1.726 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/3.143, allocations: 39.12 kB / 1.726 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=56): time 4.218e-06/3.143, allocations: 4 kB / 1.726 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56): time 0.001633/3.145, allocations: 0.8526 MB / 1.727 GB, free: 432 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/3.145, allocations: 59.97 kB / 1.727 GB, free: 360 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4472/3.592, allocations: 1.06 MB / 1.728 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002692/3.592, allocations: 40.05 kB / 1.728 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/3.593, allocations: 0.5986 MB / 1.728 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/3.593, allocations: 201.5 kB / 1.729 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/3.593, allocations: 11.34 kB / 1.729 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/3.593, allocations: 330.3 kB / 1.729 GB, free: 107 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/3.594, allocations: 242.5 kB / 1.729 GB, free: 107 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/3.595, allocations: 431.9 kB / 1.73 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/3.595, allocations: 316.9 kB / 1.73 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/3.595, allocations: 1.156 kB / 1.73 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001807/3.597, allocations: 0.8058 MB / 1.731 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005513/3.598, allocations: 1.594 MB / 1.732 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/3.598, allocations: 4.875 kB / 1.732 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/3.598, allocations: 7.812 kB / 1.732 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/3.599, allocations: 183.6 kB / 1.732 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004773/3.599, allocations: 1.178 MB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/3.6, allocations: 123.6 kB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/3.6, allocations: 29.91 kB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/3.6, allocations: 8.5 kB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/3.601, allocations: 0.6611 MB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/3.601, allocations: 2.938 kB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/3.601, allocations: 14.73 kB / 1.734 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/3.602, allocations: 170.3 kB / 1.735 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/3.602, allocations: 8.531 kB / 1.735 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/3.603, allocations: 112 kB / 1.735 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/3.603, allocations: 30.86 kB / 1.735 GB, free: 103.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0008948/3.604, allocations: 497.2 kB / 1.735 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/3.604, allocations: 131.5 kB / 1.735 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/3.606, allocations: 0.8629 MB / 1.736 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/3.606, allocations: 10.77 kB / 1.736 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/3.606, allocations: 2.719 kB / 1.736 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/3.607, allocations: 0.6949 MB / 1.737 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/3.61, allocations: 1.925 MB / 1.739 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/3.61, allocations: 4.109 kB / 1.739 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/3.611, allocations: 146.6 kB / 1.739 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/3.611, allocations: 2.781 kB / 1.739 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/3.611, allocations: 18.69 kB / 1.739 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003635/3.611, allocations: 1.177 MB / 1.74 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/3.611, allocations: 9.734 kB / 1.74 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/3.613, allocations: 1.262 MB / 1.741 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/3.613, allocations: 311.2 kB / 1.742 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/3.614, allocations: 16.59 kB / 1.742 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/3.614, allocations: 73.52 kB / 1.742 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/3.614, allocations: 42.28 kB / 1.742 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/3.615, allocations: 27.77 kB / 1.742 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001194/3.616, allocations: 0.8457 MB / 1.743 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/3.616, allocations: 2.875 kB / 1.743 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002307/3.618, allocations: 0.7149 MB / 1.743 GB, free: 101.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,senTem.T,senTem1.T) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.003777/3.622, allocations: 2.533 MB / 1.746 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002353/3.624, allocations: 1.012 MB / 1.747 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/3.624, allocations: 1.281 kB / 1.747 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007912/3.625, allocations: 359.3 kB / 1.747 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/3.629, allocations: 0.7238 MB / 1.748 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007678/3.637, allocations: 6.433 MB / 1.754 GB, free: 96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/3.638, allocations: 1.37 MB / 1.755 GB, free: 95.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001988/3.64, allocations: 443.9 kB / 1.756 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/3.64, allocations: 0.5016 MB / 1.756 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/3.64, allocations: 0 / 1.756 GB, free: 95.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07456/3.715, allocations: 40.94 MB / 1.796 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/3.715, allocations: 252.9 kB / 1.797 GB, free: 93.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/7.25, allocations: 0 / 1.797 GB, free: 93.88 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_Pipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)