Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 170.9 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.6366 GB, free: 8.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009834/0.0009832, allocations: 91.27 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.765/2.065, allocations: 432.5 MB / 1.411 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/2.065, allocations: 92.36 kB / 1.411 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.96/5.026, allocations: 0.7662 GB / 2.177 GB, free: 136.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/5.026, allocations: 0 / 2.177 GB, free: 136.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001221/5.027, allocations: 184.4 kB / 2.177 GB, free: 136.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02336/5.05, allocations: 7.016 MB / 2.184 GB, free: 134.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/5.05, allocations: 12.47 kB / 2.184 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003275/5.054, allocations: 0.7176 MB / 2.185 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/5.058, allocations: 0.8394 MB / 2.186 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05762/5.116, allocations: 23.26 MB / 2.208 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008591/5.117, allocations: 413.3 kB / 2.209 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002733/5.119, allocations: 0.5136 MB / 2.209 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/5.14, allocations: 7.124 MB / 2.216 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/5.14, allocations: 19.53 kB / 2.216 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/5.141, allocations: 222.2 kB / 2.216 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000311/5.142, allocations: 169.3 kB / 2.217 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/5.156, allocations: 5.489 MB / 2.222 GB, free: 131.5 MB / 0.948 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.05336/5.209, allocations: 29.79 MB / 2.251 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/5.215, allocations: 3.418 MB / 2.254 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009255/5.216, allocations: 0.972 MB / 2.255 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.123e-05/5.216, allocations: 80.83 kB / 2.255 GB, free: 117.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 4.91e-06/5.216, allocations: 6.844 kB / 2.255 GB, free: 117.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.007788/5.224, allocations: 4.391 MB / 2.26 GB, free: 116.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/5.224, allocations: 78.59 kB / 2.26 GB, free: 116.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/5.234, allocations: 5.747 MB / 2.265 GB, free: 116.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009508/5.235, allocations: 79.52 kB / 2.265 GB, free: 116.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002689/5.238, allocations: 2.983 MB / 2.268 GB, free: 113.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/5.239, allocations: 0.897 MB / 2.269 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/5.239, allocations: 74.72 kB / 2.269 GB, free: 113.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001967/5.24, allocations: 449.8 kB / 2.27 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/5.242, allocations: 1.496 MB / 2.271 GB, free: 112.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/5.244, allocations: 2.657 MB / 2.274 GB, free: 110.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/5.247, allocations: 2.11 MB / 2.276 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/5.247, allocations: 11.03 kB / 2.276 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008024/5.255, allocations: 4.751 MB / 2.281 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004/5.259, allocations: 17.14 MB / 2.297 GB, free: 89.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-05/5.259, allocations: 40.19 kB / 2.297 GB, free: 89.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.886e-05/5.259, allocations: 59.88 kB / 2.297 GB, free: 89.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/5.263, allocations: 0.8868 MB / 2.298 GB, free: 89.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/5.264, allocations: 1.241 MB / 2.299 GB, free: 88.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006624/5.27, allocations: 0.5767 MB / 2.3 GB, free: 88.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007431/5.271, allocations: 171.4 kB / 2.3 GB, free: 88.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/5.271, allocations: 7.844 kB / 2.3 GB, free: 88.13 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006549/5.278, allocations: 4.245 MB / 2.304 GB, free: 86.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/5.278, allocations: 34.38 kB / 2.304 GB, free: 86.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.177e-05/5.278, allocations: 58.34 kB / 2.304 GB, free: 86.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/5.281, allocations: 0.8707 MB / 2.305 GB, free: 86.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-05/5.281, allocations: 76.08 kB / 2.305 GB, free: 86.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/5.287, allocations: 0.5199 MB / 2.306 GB, free: 86.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/5.287, allocations: 167.5 kB / 2.306 GB, free: 86.16 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (436): * Single equations (assignments): 434 * 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.005417/5.293, allocations: 2.507 MB / 2.308 GB, free: 85.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/5.295, allocations: 0.5463 MB / 2.309 GB, free: 84.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/5.302, allocations: 3.706 MB / 2.313 GB, free: 83.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/5.302, allocations: 26.94 kB / 2.313 GB, free: 83.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/5.302, allocations: 0 / 2.313 GB, free: 83.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004005/5.306, allocations: 2.816 MB / 2.315 GB, free: 82.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/5.331, allocations: 9.4 MB / 2.325 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/5.331, allocations: 1.906 kB / 2.325 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/5.334, allocations: 0.5393 MB / 2.325 GB, free: 78.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-05/5.334, allocations: 7.781 kB / 2.325 GB, free: 78.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/5.334, allocations: 81.8 kB / 2.325 GB, free: 78.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004296/5.335, allocations: 1.184 MB / 2.326 GB, free: 77.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.335, allocations: 3.594 kB / 2.326 GB, free: 77.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/5.343, allocations: 5.653 MB / 2.332 GB, free: 75.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005713/5.349, allocations: 1.341 MB / 2.333 GB, free: 74.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/5.352, allocations: 60.7 kB / 2.333 GB, free: 74.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006458/5.359, allocations: 260.3 kB / 2.333 GB, free: 74.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/5.359, allocations: 153.7 kB / 2.334 GB, free: 74.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000896/5.36, allocations: 149 kB / 2.334 GB, free: 74.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01252/5.373, allocations: 4.534 MB / 2.338 GB, free: 72.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.293e-06/5.373, allocations: 0 / 2.338 GB, free: 72.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01732/5.39, allocations: 3.247 MB / 2.341 GB, free: 72.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].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 (259): * Single equations (assignments): 251 * 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.01485/5.405, allocations: 6.976 MB / 2.348 GB, free: 69.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01203/5.417, allocations: 5.746 MB / 2.354 GB, free: 67.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/5.417, allocations: 4.406 kB / 2.354 GB, free: 67.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/5.42, allocations: 1.562 MB / 2.355 GB, free: 66.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02092/5.441, allocations: 3.872 MB / 2.359 GB, free: 66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05023/5.491, allocations: 44.73 MB / 2.403 GB, free: 23.31 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00746/5.499, allocations: 4.626 MB / 2.407 GB, free: 19.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01301/5.512, allocations: 3.022 MB / 2.41 GB, free: 17.83 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006344/5.518, allocations: 2.584 MB / 2.413 GB, free: 15.45 MB / 0.948 GB Notification: Performance of SimCode: time 1.854e-06/5.518, allocations: 0 / 2.413 GB, free: 15.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9038/6.422, allocations: 181.5 MB / 2.59 GB, free: 140.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/6.422, allocations: 246.4 kB / 2.59 GB, free: 140.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/14.86, allocations: 0 / 2.59 GB, free: 140.6 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)