Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 176.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 83.92 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.999e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.359, allocations: 442.3 MB / 1.638 GB, free: 13.02 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.359, allocations: 89.77 kB / 1.638 GB, free: 12.98 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.698/4.058, allocations: 0.7869 GB / 2.425 GB, free: 214.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.462e-06/4.058, allocations: 0 / 2.425 GB, free: 214.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009908/4.059, allocations: 198.3 kB / 2.425 GB, free: 214.1 MB / 1.151 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.01491/4.074, allocations: 5.699 MB / 2.431 GB, free: 208.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/4.074, allocations: 12.03 kB / 2.431 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/4.078, allocations: 0.8436 MB / 2.432 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04897/4.127, allocations: 24.38 MB / 2.455 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/4.127, allocations: 243.8 kB / 2.456 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/4.129, allocations: 299.9 kB / 2.456 GB, free: 183.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009236/4.138, allocations: 5.017 MB / 2.461 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/4.154, allocations: 6.284 MB / 2.467 GB, free: 171.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/4.154, allocations: 23.78 kB / 2.467 GB, free: 171.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/4.156, allocations: 15.98 kB / 2.467 GB, free: 171.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/4.156, allocations: 220 kB / 2.467 GB, free: 171.4 MB / 1.151 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.03996/4.196, allocations: 28.74 MB / 2.495 GB, free: 141.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004974/4.201, allocations: 3.214 MB / 2.498 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/4.203, allocations: 1.618 MB / 2.5 GB, free: 136.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008774/4.204, allocations: 0.9729 MB / 2.501 GB, free: 135.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/4.204, allocations: 77.12 kB / 2.501 GB, free: 135.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 6.382e-06/4.204, allocations: 3.891 kB / 2.501 GB, free: 135.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.007012/4.211, allocations: 3.054 MB / 2.504 GB, free: 132.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/4.211, allocations: 77.41 kB / 2.504 GB, free: 132.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008471/4.22, allocations: 4.75 MB / 2.509 GB, free: 127.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006324/4.22, allocations: 33.7 kB / 2.509 GB, free: 127.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/4.223, allocations: 2.994 MB / 2.512 GB, free: 124.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/4.224, allocations: 0.8624 MB / 2.513 GB, free: 123.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/4.225, allocations: 4 kB / 2.513 GB, free: 123.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000408/4.225, allocations: 453.1 kB / 2.513 GB, free: 123.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/4.228, allocations: 1.385 MB / 2.514 GB, free: 121.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/4.23, allocations: 2.528 MB / 2.517 GB, free: 118.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/4.234, allocations: 2.09 MB / 2.519 GB, free: 116.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/4.234, allocations: 16 kB / 2.519 GB, free: 116.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007755/4.242, allocations: 4.343 MB / 2.523 GB, free: 112.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002612/4.245, allocations: 16.65 MB / 2.539 GB, free: 93.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/4.245, allocations: 35.94 kB / 2.539 GB, free: 93.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.813e-05/4.245, allocations: 60 kB / 2.539 GB, free: 93.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/4.248, allocations: 0.8927 MB / 2.54 GB, free: 92.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000522/4.249, allocations: 1.25 MB / 2.542 GB, free: 91.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/4.254, allocations: 444 kB / 2.542 GB, free: 91.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005905/4.254, allocations: 164 kB / 2.542 GB, free: 91.06 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/4.254, allocations: 4 kB / 2.542 GB, free: 91.06 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007303/4.262, allocations: 3.836 MB / 2.546 GB, free: 87.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/4.262, allocations: 36 kB / 2.546 GB, free: 87.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.539e-05/4.262, allocations: 64.12 kB / 2.546 GB, free: 87.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/4.265, allocations: 0.8619 MB / 2.547 GB, free: 86.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.052e-05/4.265, allocations: 75.72 kB / 2.547 GB, free: 86.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004947/4.27, allocations: 384.7 kB / 2.547 GB, free: 85.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/4.271, allocations: 164 kB / 2.547 GB, free: 85.61 MB / 1.151 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 () * 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.0009496/4.272, allocations: 215.8 kB / 2.548 GB, free: 85.39 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005992/4.278, allocations: 3.039 MB / 2.551 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/4.279, allocations: 0.4979 MB / 2.551 GB, free: 81.83 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006065/4.285, allocations: 3.463 MB / 2.554 GB, free: 78.32 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/4.285, allocations: 28 kB / 2.554 GB, free: 78.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/4.285, allocations: 4 kB / 2.554 GB, free: 78.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003525/4.289, allocations: 2.674 MB / 2.557 GB, free: 75.55 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/4.306, allocations: 8.647 MB / 2.565 GB, free: 66.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/4.306, allocations: 0 / 2.565 GB, free: 66.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/4.309, allocations: 0.5379 MB / 2.566 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.719e-05/4.309, allocations: 8 kB / 2.566 GB, free: 66.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/4.309, allocations: 51.95 kB / 2.566 GB, free: 66.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003835/4.31, allocations: 1.184 MB / 2.567 GB, free: 65.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/4.31, allocations: 4 kB / 2.567 GB, free: 65.03 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008603/4.318, allocations: 5.378 MB / 2.572 GB, free: 59.54 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004314/4.323, allocations: 1.267 MB / 2.574 GB, free: 58.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002148/4.325, allocations: 19.98 kB / 2.574 GB, free: 58.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005024/4.33, allocations: 222.8 kB / 2.574 GB, free: 58.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/4.33, allocations: 153.7 kB / 2.574 GB, free: 57.86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005108/4.331, allocations: 147.8 kB / 2.574 GB, free: 57.71 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.006253/4.337, allocations: 3.673 MB / 2.578 GB, free: 54.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/4.337, allocations: 0 / 2.578 GB, free: 54.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01188/4.349, allocations: 3.204 MB / 2.581 GB, free: 50.84 MB / 1.151 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 () * 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.009688/4.359, allocations: 6.663 MB / 2.587 GB, free: 44.14 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007174/4.366, allocations: 5.484 MB / 2.593 GB, free: 38.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/4.366, allocations: 4.562 kB / 2.593 GB, free: 38.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/4.368, allocations: 1.479 MB / 2.594 GB, free: 37.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01631/4.384, allocations: 3.182 MB / 2.597 GB, free: 34.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/4.414, allocations: 13.31 MB / 2.61 GB, free: 20.88 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005179/4.42, allocations: 4.682 MB / 2.615 GB, free: 16.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01372/4.433, allocations: 4.517 MB / 2.619 GB, free: 11.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004154/4.438, allocations: 2.464 MB / 2.622 GB, free: 9.332 MB / 1.151 GB Notification: Performance of SimCode: time 1.733e-06/4.438, allocations: 4 kB / 2.622 GB, free: 9.328 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8949/5.332, allocations: 159.8 MB / 2.778 GB, free: 202 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/5.333, allocations: 163.4 kB / 2.778 GB, free: 201.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/12.45, allocations: 0 / 2.778 GB, free: 201.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat