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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6444/0.6449, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04163/0.6865, allocations: 38.5 MB / 0.9912 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.7009, allocations: 9.978 MB / 1.001 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.7028, allocations: 51.69 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.705, allocations: 0.6257 MB / 1.002 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.7112, allocations: 1.992 MB / 1.004 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.7158, allocations: 1.555 MB / 1.005 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01462/0.7304, allocations: 12.19 MB / 1.017 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.7424, allocations: 6.446 MB / 1.023 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.7534, allocations: 4.578 MB / 1.028 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008142/0.7616, allocations: 3.683 MB / 1.031 GB, free: 336 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001792/0.7634, allocations: 288 kB / 1.032 GB, free: 48 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.7687, allocations: 0.9872 MB / 1.033 GB, free: 15.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002616/0.7714, allocations: 1.304 MB / 1.034 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003628/0.775, allocations: 1.584 MB / 1.035 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.789, allocations: 10.16 MB / 1.045 GB, free: 1.973 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.789, allocations: 0 / 1.045 GB, free: 1.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.046e-06/0.789, allocations: 0 / 1.045 GB, free: 1.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000371/0.7894, allocations: 0 / 1.045 GB, free: 1.973 MB / 0.795 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.01683/0.8062, allocations: 6.681 MB / 1.052 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.278e-05/0.8063, allocations: 12.03 kB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002646/0.809, allocations: 0.7182 MB / 1.053 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.8134, allocations: 0.8463 MB / 1.053 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.8314, allocations: 7.004 MB / 1.06 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.8318, allocations: 423.8 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/0.8332, allocations: 0.5076 MB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.8468, allocations: 7.597 MB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.847, allocations: 19.78 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005835/0.8476, allocations: 228 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.8478, allocations: 163.9 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.8596, allocations: 6.047 MB / 1.075 GB, free: 3.25 MB / 0.8262 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.05211/0.9118, allocations: 29.64 MB / 1.104 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.9187, allocations: 3.61 MB / 1.107 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.92, allocations: 0.9943 MB / 1.108 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.9201, allocations: 77.12 kB / 1.108 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=253): time 6.582e-06/0.9201, allocations: 4 kB / 1.108 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=253): time 0.01079/0.9309, allocations: 4.664 MB / 1.113 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.931, allocations: 81.41 kB / 1.113 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01677/0.9478, allocations: 6.693 MB / 1.119 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0008058/0.9487, allocations: 89.64 kB / 1.12 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/0.9529, allocations: 3 MB / 1.123 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/0.9548, allocations: 0.9013 MB / 1.123 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.9553, allocations: 68 kB / 1.123 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003815/0.9557, allocations: 445.2 kB / 1.124 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/0.9588, allocations: 1.623 MB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.9626, allocations: 2.651 MB / 1.128 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.966, allocations: 2.199 MB / 1.13 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.966, allocations: 11.94 kB / 1.13 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008532/0.9745, allocations: 4.939 MB / 1.135 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.006181/0.9807, allocations: 15.13 MB / 1.15 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.968e-05/0.9808, allocations: 32 kB / 1.15 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.891e-05/0.9809, allocations: 60 kB / 1.15 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/0.9849, allocations: 0.8893 MB / 1.151 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009513/0.9858, allocations: 1.246 MB / 1.152 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/0.992, allocations: 0.6548 MB / 1.153 GB, free: 484 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/0.9926, allocations: 160 kB / 1.153 GB, free: 324 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9926, allocations: 7.953 kB / 1.153 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00845/1.001, allocations: 4.416 MB / 1.157 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.176e-05/1.001, allocations: 32 kB / 1.157 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.659e-05/1.001, allocations: 52 kB / 1.157 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.005, allocations: 0.8586 MB / 1.158 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/1.005, allocations: 71.78 kB / 1.158 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.01, allocations: 0.5892 MB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/1.011, allocations: 160 kB / 1.159 GB, free: 10.09 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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.005086/1.016, allocations: 2.529 MB / 1.161 GB, free: 7.551 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.018, allocations: 0.5674 MB / 1.162 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00781/1.026, allocations: 3.891 MB / 1.166 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/1.026, allocations: 28 kB / 1.166 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.026, allocations: 0 / 1.166 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004739/1.031, allocations: 2.986 MB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.055, allocations: 9.92 MB / 1.178 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.055, allocations: 4 kB / 1.178 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.058, allocations: 0.554 MB / 1.179 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.59e-05/1.058, allocations: 8 kB / 1.179 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/1.059, allocations: 75.95 kB / 1.179 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007937/1.059, allocations: 1.195 MB / 1.18 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.059, allocations: 0 / 1.18 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.07, allocations: 5.755 MB / 1.186 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005015/1.075, allocations: 1.438 MB / 1.187 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/1.077, allocations: 59.98 kB / 1.187 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005204/1.082, allocations: 390.8 kB / 1.188 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/1.083, allocations: 157.7 kB / 1.188 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/1.083, allocations: 139.9 kB / 1.188 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.01066/1.094, allocations: 4.781 MB / 1.192 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.9e-07/1.094, allocations: 0 / 1.192 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01417/1.108, allocations: 3.281 MB / 1.196 GB, free: 3.863 MB / 0.9512 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.01367/1.122, allocations: 6.836 MB / 1.202 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.133, allocations: 5.98 MB / 1.208 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.134, allocations: 4.562 kB / 1.208 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/1.136, allocations: 1.59 MB / 1.21 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01924/1.156, allocations: 3.896 MB / 1.214 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05307/1.209, allocations: 41.69 MB / 1.254 GB, free: 6.434 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00934/1.218, allocations: 4.677 MB / 1.259 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.5638/1.782, allocations: 2.874 MB / 1.262 GB, free: 270.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006207/1.788, allocations: 2.594 MB / 1.264 GB, free: 270.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.372e-06/1.788, allocations: 0 / 1.264 GB, free: 270.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/2.047, allocations: 183.3 MB / 1.443 GB, free: 117.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/2.047, allocations: 241.2 kB / 1.443 GB, free: 117.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.129/8.176, allocations: 4 kB / 1.443 GB, free: 117.1 MB / 1.014 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