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.8151/0.8151, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001158/0.001158, allocations: 180.9 kB / 182.2 MB, free: 9.426 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.461/1.461, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001046/0.001046, allocations: 88.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002726/0.002726, allocations: 276.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.308e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5185, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.367, allocations: 402.2 MB / 1.15 GB, free: 11.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.368, allocations: 89.2 kB / 1.15 GB, free: 11.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.853/3.221, allocations: 0.5168 GB / 1.667 GB, free: 51.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/3.221, allocations: 4 kB / 1.667 GB, free: 51.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001381/3.221, allocations: 39.98 kB / 1.667 GB, free: 51.26 MB / 0.698 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.003521/3.225, allocations: 1.633 MB / 1.669 GB, free: 49.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/3.225, allocations: 8.031 kB / 1.669 GB, free: 49.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/3.225, allocations: 174 kB / 1.669 GB, free: 49.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05278/3.278, allocations: 27.52 MB / 1.696 GB, free: 21.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/3.278, allocations: 67.7 kB / 1.696 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/3.278, allocations: 56 kB / 1.696 GB, free: 21.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/3.28, allocations: 0.738 MB / 1.697 GB, free: 20.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/3.281, allocations: 0.9714 MB / 1.697 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/3.281, allocations: 0 / 1.697 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/3.281, allocations: 4 kB / 1.698 GB, free: 19.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/3.281, allocations: 41.92 kB / 1.698 GB, free: 19.65 MB / 0.698 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.005154/3.287, allocations: 4.442 MB / 1.702 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/3.287, allocations: 0.4921 MB / 1.702 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/3.288, allocations: 266.8 kB / 1.703 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/3.288, allocations: 0.9227 MB / 1.704 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/3.288, allocations: 47.12 kB / 1.704 GB, free: 12.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 2.374e-06/3.288, allocations: 0 / 1.704 GB, free: 12.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.001329/3.29, allocations: 0.6264 MB / 1.704 GB, free: 12.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/3.29, allocations: 59.97 kB / 1.704 GB, free: 12.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/3.291, allocations: 0.8702 MB / 1.705 GB, free: 11.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/3.291, allocations: 29.7 kB / 1.705 GB, free: 11.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/3.291, allocations: 0.5974 MB / 1.706 GB, free: 10.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/3.291, allocations: 193.2 kB / 1.706 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/3.291, allocations: 0 / 1.706 GB, free: 10.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/3.291, allocations: 334 kB / 1.706 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/3.292, allocations: 205.5 kB / 1.706 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/3.292, allocations: 387.2 kB / 1.707 GB, free: 9.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/3.293, allocations: 357.8 kB / 1.707 GB, free: 9.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.293, allocations: 0 / 1.707 GB, free: 9.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001331/3.294, allocations: 0.7711 MB / 1.708 GB, free: 8.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004414/3.295, allocations: 1.586 MB / 1.709 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/3.295, allocations: 4 kB / 1.709 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/3.295, allocations: 8 kB / 1.709 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/3.296, allocations: 183.8 kB / 1.71 GB, free: 6.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006723/3.296, allocations: 1.184 MB / 1.711 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/3.297, allocations: 95.5 kB / 1.711 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/3.297, allocations: 31.98 kB / 1.711 GB, free: 5.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/3.297, allocations: 5.25 kB / 1.711 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/3.299, allocations: 0.6261 MB / 1.711 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/3.299, allocations: 11.94 kB / 1.711 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/3.299, allocations: 8.547 kB / 1.712 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/3.299, allocations: 167.7 kB / 1.712 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/3.299, allocations: 8 kB / 1.712 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/3.3, allocations: 83.59 kB / 1.712 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/3.3, allocations: 31.98 kB / 1.712 GB, free: 4.277 MB / 0.698 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 () * 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.000241/3.3, allocations: 125.2 kB / 1.712 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/3.302, allocations: 0.6303 MB / 1.713 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/3.302, allocations: 118.5 kB / 1.713 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/3.303, allocations: 0.8143 MB / 1.713 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/3.303, allocations: 12 kB / 1.713 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/3.303, allocations: 0 / 1.713 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009567/3.304, allocations: 0.6773 MB / 1.714 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/3.307, allocations: 1.782 MB / 1.716 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/3.307, allocations: 0 / 1.716 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5444/3.851, allocations: 130.6 kB / 1.716 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/3.852, allocations: 3.938 kB / 1.716 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/3.852, allocations: 14.2 kB / 1.716 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006121/3.852, allocations: 1.173 MB / 1.717 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/3.852, allocations: 1.969 kB / 1.717 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/3.855, allocations: 1.204 MB / 1.718 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/3.856, allocations: 293.8 kB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/3.856, allocations: 7.594 kB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/3.857, allocations: 62.34 kB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/3.857, allocations: 42.02 kB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/3.857, allocations: 32.23 kB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001263/3.859, allocations: 0.6703 MB / 1.719 GB, free: 107.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/3.859, allocations: 0 / 1.719 GB, free: 107.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002418/3.861, allocations: 0.6987 MB / 1.72 GB, free: 107.8 MB / 0.698 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 () * 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.003768/3.865, allocations: 2.47 MB / 1.722 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001767/3.867, allocations: 0.9395 MB / 1.723 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/3.867, allocations: 5.047 kB / 1.723 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/3.867, allocations: 320 kB / 1.724 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/3.87, allocations: 0.607 MB / 1.724 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/3.875, allocations: 2.356 MB / 1.727 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/3.875, allocations: 1.368 MB / 1.728 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002061/3.877, allocations: 0.5887 MB / 1.729 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/3.878, allocations: 493.4 kB / 1.729 GB, free: 105.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/3.878, allocations: 1.781 kB / 1.729 GB, free: 105.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/3.951, allocations: 35.88 MB / 1.764 GB, free: 104.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/3.951, allocations: 176.8 kB / 1.764 GB, free: 104.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/7.062, allocations: 0 / 1.764 GB, free: 104.5 MB / 0.698 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)