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.00157/0.00157, allocations: 99.86 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.001884/0.001884, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.58/2.58, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.706/4.706, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00067/0.0006701, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622/1.622, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.06975/1.692, allocations: 38.51 MB / 1.018 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02643/1.719, allocations: 9.979 MB / 1.028 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003312/1.722, allocations: 51.69 kB / 1.028 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003993/1.726, allocations: 0.6257 MB / 1.029 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/1.738, allocations: 1.989 MB / 1.031 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008849/1.747, allocations: 1.552 MB / 1.032 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02974/1.776, allocations: 12.19 MB / 1.044 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02276/1.799, allocations: 6.431 MB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02032/1.82, allocations: 4.574 MB / 1.055 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/1.834, allocations: 3.69 MB / 1.059 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003765/1.837, allocations: 288 kB / 1.059 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/1.851, allocations: 0.9911 MB / 1.06 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005604/1.857, allocations: 1.296 MB / 1.061 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007676/1.864, allocations: 1.58 MB / 1.063 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02525/1.89, allocations: 10.17 MB / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.89, allocations: 0 / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.533e-06/1.89, allocations: 3.938 kB / 1.073 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0006946/1.891, allocations: 0 / 1.073 GB, free: 8.094 MB / 0.8262 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.03755/1.928, allocations: 6.683 MB / 1.079 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 9.39e-05/1.928, allocations: 12.03 kB / 1.079 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006531/1.935, allocations: 0.722 MB / 1.08 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/1.946, allocations: 0.854 MB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03316/1.98, allocations: 7 MB / 1.087 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009328/1.981, allocations: 423.8 kB / 1.088 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/1.984, allocations: 0.5077 MB / 1.088 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/2.019, allocations: 7.593 MB / 1.096 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004863/2.02, allocations: 23.77 kB / 1.096 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/2.023, allocations: 223.9 kB / 1.096 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003803/2.024, allocations: 171.9 kB / 1.096 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/2.05, allocations: 6.04 MB / 1.102 GB, free: 9.363 MB / 0.8575 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.09305/2.143, allocations: 29.65 MB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/2.156, allocations: 3.591 MB / 1.135 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/2.158, allocations: 0.9982 MB / 1.136 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/2.158, allocations: 77.12 kB / 1.136 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=253): time 1.492e-05/2.158, allocations: 0 / 1.136 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of matching and sorting (n=253): time 0.01941/2.178, allocations: 4.672 MB / 1.14 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/2.178, allocations: 77.41 kB / 1.14 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02677/2.205, allocations: 6.701 MB / 1.147 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/2.206, allocations: 81.7 kB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.006749/2.213, allocations: 3.008 MB / 1.15 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002648/2.215, allocations: 0.8974 MB / 1.151 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/2.216, allocations: 68 kB / 1.151 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0004568/2.216, allocations: 457.1 kB / 1.151 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/2.221, allocations: 1.615 MB / 1.153 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005973/2.227, allocations: 2.647 MB / 1.155 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006508/2.234, allocations: 2.207 MB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/2.234, allocations: 8 kB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01896/2.253, allocations: 4.935 MB / 1.162 GB, free: 9.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.01274/2.266, allocations: 15.13 MB / 1.177 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/2.266, allocations: 36 kB / 1.177 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/2.266, allocations: 52 kB / 1.177 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007516/2.274, allocations: 0.8854 MB / 1.178 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/2.276, allocations: 1.25 MB / 1.179 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/2.288, allocations: 0.6626 MB / 1.18 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/2.289, allocations: 160 kB / 1.18 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/2.289, allocations: 4 kB / 1.18 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01479/2.304, allocations: 4.42 MB / 1.184 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/2.304, allocations: 28 kB / 1.184 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.575e-05/2.304, allocations: 56 kB / 1.184 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006308/2.311, allocations: 0.8587 MB / 1.185 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001432/2.311, allocations: 63.8 kB / 1.185 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/2.322, allocations: 0.5892 MB / 1.186 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/2.323, allocations: 160 kB / 1.186 GB, free: 220 kB / 0.9356 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.009934/2.333, allocations: 2.527 MB / 1.189 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003548/2.336, allocations: 0.5636 MB / 1.189 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.351, allocations: 3.891 MB / 1.193 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/2.351, allocations: 24 kB / 1.193 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/2.352, allocations: 7.984 kB / 1.193 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008897/2.36, allocations: 2.986 MB / 1.196 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/2.401, allocations: 9.922 MB / 1.206 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/2.401, allocations: 0 / 1.206 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/2.405, allocations: 0.5618 MB / 1.206 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/2.405, allocations: 15.98 kB / 1.206 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/2.406, allocations: 75.95 kB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/2.407, allocations: 1.188 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.407, allocations: 4 kB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/2.423, allocations: 5.755 MB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007305/2.43, allocations: 1.43 MB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002968/2.433, allocations: 63.98 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008768/2.442, allocations: 394.8 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008159/2.443, allocations: 153.8 kB / 1.215 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000701/2.444, allocations: 143.9 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01555/2.459, allocations: 4.773 MB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.72e-07/2.459, allocations: 0 / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.02194/2.481, allocations: 3.281 MB / 1.223 GB, free: 9.984 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.02156/2.503, allocations: 6.832 MB / 1.23 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01908/2.522, allocations: 5.988 MB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.541e-05/2.522, allocations: 4.562 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004807/2.527, allocations: 1.59 MB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03358/2.561, allocations: 3.894 MB / 1.241 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.193/3.754, allocations: 41.69 MB / 1.282 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/3.768, allocations: 4.677 MB / 1.286 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.02166/3.79, allocations: 2.871 MB / 1.289 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/3.8, allocations: 2.595 MB / 1.291 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.958e-06/3.8, allocations: 0 / 1.291 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4486/4.249, allocations: 183.3 MB / 1.47 GB, free: 39.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/4.249, allocations: 245.6 kB / 1.471 GB, free: 38.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/16.39, allocations: 0 / 1.471 GB, free: 38.99 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