Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_latest_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.001098/0.001098, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 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.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.617/2.617, allocations: 409.4 MB / 0.684 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8258, allocations: 146.8 MB / 0.9811 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04348/0.8693, allocations: 42.38 MB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.8849, allocations: 10.81 MB / 1.033 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.8871, allocations: 55.62 kB / 1.033 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.8889, allocations: 488.8 kB / 1.034 GB, free: 344 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.8945, allocations: 1.761 MB / 1.035 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.8985, allocations: 1.123 MB / 1.036 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02339/0.9219, allocations: 24.92 MB / 1.061 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009753/0.9317, allocations: 6.426 MB / 1.067 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/0.944, allocations: 5.439 MB / 1.072 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0127/0.9568, allocations: 5.312 MB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.9591, allocations: 291.9 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/0.9662, allocations: 1.084 MB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003628/0.9699, allocations: 1.342 MB / 1.08 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004473/0.9744, allocations: 1.584 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.9891, allocations: 10.27 MB / 1.092 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.9891, allocations: 0 / 1.092 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9891, allocations: 0 / 1.092 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004178/0.9896, allocations: 0 / 1.092 GB, free: 4.57 MB / 0.8419 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.0162/1.006, allocations: 6.712 MB / 1.098 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.006, allocations: 8.031 kB / 1.098 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002854/1.009, allocations: 0.7143 MB / 1.099 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/1.013, allocations: 0.854 MB / 1.1 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/1.029, allocations: 7.615 MB / 1.107 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/1.03, allocations: 423.8 kB / 1.108 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.032, allocations: 0.5076 MB / 1.108 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/1.049, allocations: 7.64 MB / 1.116 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/1.049, allocations: 19.86 kB / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007998/1.05, allocations: 228 kB / 1.116 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.05, allocations: 167.9 kB / 1.116 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/1.063, allocations: 6.04 MB / 1.122 GB, free: 5.16 MB / 0.8731 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.04784/1.111, allocations: 29.28 MB / 1.151 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005703/1.117, allocations: 3.369 MB / 1.154 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/1.12, allocations: 1.956 MB / 1.156 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.121, allocations: 1.002 MB / 1.157 GB, free: 100 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.121, allocations: 73.12 kB / 1.157 GB, free: 12 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=253): time 4.939e-06/1.121, allocations: 0 / 1.157 GB, free: 12 kB / 0.9044 GB Notification: Performance of matching and sorting (n=253): time 0.00864/1.13, allocations: 4.683 MB / 1.161 GB, free: 11.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/1.13, allocations: 81.41 kB / 1.161 GB, free: 11.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009934/1.14, allocations: 6.111 MB / 1.167 GB, free: 5.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007222/1.141, allocations: 77.7 kB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002962/1.144, allocations: 2.984 MB / 1.17 GB, free: 2.016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/1.145, allocations: 0.9012 MB / 1.171 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.146, allocations: 68 kB / 1.171 GB, free: 1.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002571/1.146, allocations: 457.1 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/1.149, allocations: 1.627 MB / 1.173 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.152, allocations: 2.662 MB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.156, allocations: 2.215 MB / 1.178 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/1.156, allocations: 12 kB / 1.178 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008862/1.165, allocations: 4.939 MB / 1.183 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007689/1.165, allocations: 1.028 MB / 1.184 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/1.165, allocations: 32 kB / 1.184 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.607e-05/1.165, allocations: 56 kB / 1.184 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.169, allocations: 0.8113 MB / 1.185 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008081/1.169, allocations: 1.254 MB / 1.186 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005192/1.175, allocations: 0.6163 MB / 1.187 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/1.175, allocations: 160 kB / 1.187 GB, free: 160 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.175, allocations: 4 kB / 1.187 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007014/1.182, allocations: 4.428 MB / 1.191 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/1.182, allocations: 32 kB / 1.191 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.497e-05/1.182, allocations: 55.94 kB / 1.191 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.185, allocations: 0.7885 MB / 1.192 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-05/1.185, allocations: 71.78 kB / 1.192 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.19, allocations: 0.5506 MB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/1.19, allocations: 164 kB / 1.193 GB, free: 10.02 MB / 0.9512 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.004381/1.194, allocations: 2.522 MB / 1.195 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/1.196, allocations: 0.5597 MB / 1.196 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/1.203, allocations: 3.902 MB / 1.2 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/1.203, allocations: 31.94 kB / 1.2 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.203, allocations: 0 / 1.2 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004223/1.207, allocations: 2.99 MB / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/1.224, allocations: 9.749 MB / 1.212 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.224, allocations: 96 / 1.212 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.227, allocations: 0.6007 MB / 1.213 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/1.227, allocations: 12 kB / 1.213 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.227, allocations: 75.95 kB / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006005/1.227, allocations: 1.188 MB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.227, allocations: 8.062 kB / 1.214 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008778/1.236, allocations: 5.642 MB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004015/1.24, allocations: 1.317 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.242, allocations: 59.98 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/1.245, allocations: 386.9 kB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/1.245, allocations: 153.8 kB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/1.246, allocations: 147.9 kB / 1.221 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.008524/1.254, allocations: 4.304 MB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/1.254, allocations: 0 / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01269/1.267, allocations: 3.246 MB / 1.229 GB, free: 4.691 MB / 0.9825 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.0113/1.278, allocations: 6.564 MB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00998/1.288, allocations: 6.001 MB / 1.241 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/1.288, allocations: 5.25 kB / 1.241 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/1.291, allocations: 1.588 MB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01957/1.311, allocations: 3.946 MB / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.783/2.094, allocations: 51.71 MB / 1.297 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006983/2.101, allocations: 4.556 MB / 1.301 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01072/2.111, allocations: 2.862 MB / 1.304 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005997/2.117, allocations: 2.588 MB / 1.307 GB, free: 205 MB / 0.9981 GB Notification: Performance of SimCode: time 1.834e-06/2.117, allocations: 0 / 1.307 GB, free: 205 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/2.359, allocations: 183.4 MB / 1.486 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/2.359, allocations: 256 kB / 1.486 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/9.087, allocations: 0 / 1.486 GB, free: 22.57 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat does not exist to compare? outputFormat=mat