Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.001053/0.001053, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008963/0.008964, allocations: 174.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 7.656 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1152/0.4305, allocations: 112.6 MB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03678/0.4673, allocations: 26.4 MB / 1.195 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005271/0.4726, allocations: 99.38 kB / 1.195 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.4762, allocations: 0.9167 MB / 1.195 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009855/0.4861, allocations: 3.157 MB / 1.199 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006067/0.4922, allocations: 2.102 MB / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.5022, allocations: 8.141 MB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003668/0.5059, allocations: 1.561 MB / 1.21 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006361/0.5123, allocations: 2.255 MB / 1.212 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004734/0.5171, allocations: 1.719 MB / 1.214 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.5182, allocations: 92 kB / 1.214 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006305/0.5245, allocations: 2.132 MB / 1.216 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008696/0.5254, allocations: 402 kB / 1.217 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.528, allocations: 1.164 MB / 1.218 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008188/0.5363, allocations: 3.925 MB / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5363, allocations: 0 / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5363, allocations: 0 / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001209/0.5364, allocations: 0 / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006101/0.5425, allocations: 2.425 MB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5426, allocations: 11.97 kB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005487/0.5431, allocations: 198.6 kB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.5441, allocations: 257.1 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.5493, allocations: 2.095 MB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5495, allocations: 102.7 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.5498, allocations: 143.9 kB / 1.227 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.5528, allocations: 1.461 MB / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.5529, allocations: 0 / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.553, allocations: 59.94 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/0.5531, allocations: 39.98 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.5553, allocations: 1.037 MB / 1.229 GB, free: 5.668 MB / 0.9825 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.01015/0.5655, allocations: 8.132 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.567, allocations: 0.8368 MB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.5676, allocations: 388.4 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.5697, allocations: 2.807 MB / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5698, allocations: 39.22 kB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.965e-06/0.5698, allocations: 4 kB / 1.241 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002335/0.5721, allocations: 1.144 MB / 1.242 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5722, allocations: 64.77 kB / 1.242 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.5749, allocations: 1.602 MB / 1.244 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.575, allocations: 45.7 kB / 1.244 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007404/0.5757, allocations: 0.9315 MB / 1.245 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.576, allocations: 295.7 kB / 1.245 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.5762, allocations: 101.7 kB / 1.245 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5763, allocations: 345.9 kB / 1.245 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.5769, allocations: 326.4 kB / 1.246 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.5778, allocations: 0.715 MB / 1.246 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.5794, allocations: 1.101 MB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5794, allocations: 4 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.6003/1.18, allocations: 1.25 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/1.18, allocations: 443.5 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/1.18, allocations: 16.86 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.542e-05/1.18, allocations: 17.03 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.181, allocations: 266.8 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/1.181, allocations: 27.86 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.183, allocations: 185.4 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/1.183, allocations: 65.5 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.183, allocations: 3.906 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002257/1.186, allocations: 1.059 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.892e-05/1.186, allocations: 16.94 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/1.186, allocations: 17.81 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/1.187, allocations: 268.5 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/1.187, allocations: 24.34 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.188, allocations: 165.2 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.188, allocations: 67.8 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009217/1.189, allocations: 478.3 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/1.19, allocations: 188.7 kB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/1.193, allocations: 1.754 MB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/1.193, allocations: 24 kB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.193, allocations: 2.531 kB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001471/1.194, allocations: 1.154 MB / 1.255 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/1.2, allocations: 3.485 MB / 1.258 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.2, allocations: 14.11 kB / 1.258 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/1.201, allocations: 204.6 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/1.201, allocations: 13.62 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/1.201, allocations: 41.34 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/1.201, allocations: 16.84 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.201, allocations: 12.16 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/1.204, allocations: 2.245 MB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.205, allocations: 474.1 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.205, allocations: 31.5 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.207, allocations: 104.3 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.207, allocations: 111.1 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.207, allocations: 69.56 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001792/1.209, allocations: 1.073 MB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.209, allocations: 0 / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004026/1.213, allocations: 1.127 MB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006247/1.219, allocations: 3.484 MB / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003659/1.223, allocations: 1.812 MB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/1.223, allocations: 2.969 kB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.224, allocations: 0.8296 MB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/1.231, allocations: 0.9295 MB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/1.259, allocations: 14.63 MB / 1.285 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.26, allocations: 1.434 MB / 1.286 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00268/1.263, allocations: 0.5461 MB / 1.287 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.264, allocations: 0.8429 MB / 1.288 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.264, allocations: 0 / 1.288 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/1.344, allocations: 56.82 MB / 1.343 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.344, allocations: 248.9 kB / 1.343 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.681, allocations: 1.125 kB / 1.343 GB, free: 121.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)