Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_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.001063/0.001063, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.00155/0.00155, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005433, allocations: 16.22 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2494, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03926/0.2887, allocations: 41.19 MB / 0.8276 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.3069, allocations: 12.17 MB / 0.8395 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.3089, allocations: 31.81 kB / 0.8395 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.3107, allocations: 421.2 kB / 0.8399 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.316, allocations: 1.539 MB / 0.8414 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.3193, allocations: 0.9381 MB / 0.8424 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00537/0.3247, allocations: 3.657 MB / 0.8459 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.3263, allocations: 0.7539 MB / 0.8467 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.3289, allocations: 1.073 MB / 0.8477 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.3306, allocations: 0.8439 MB / 0.8485 GB, free: 13.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.3308, allocations: 48 kB / 0.8486 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.3338, allocations: 1.119 MB / 0.8497 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.3341, allocations: 207 kB / 0.8499 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.3346, allocations: 273.1 kB / 0.8501 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.3371, allocations: 1.738 MB / 0.8518 GB, free: 9.648 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3371, allocations: 7.938 kB / 0.8518 GB, free: 9.641 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3371, allocations: 0 / 0.8518 GB, free: 9.641 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.3371, allocations: 4 kB / 0.8518 GB, free: 9.637 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002934/0.3401, allocations: 1.456 MB / 0.8533 GB, free: 8.125 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3401, allocations: 8.031 kB / 0.8533 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.3403, allocations: 110.5 kB / 0.8534 GB, free: 8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.3406, allocations: 130.5 kB / 0.8535 GB, free: 7.871 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.3429, allocations: 1.175 MB / 0.8546 GB, free: 6.652 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.3429, allocations: 54 kB / 0.8547 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.343, allocations: 67.98 kB / 0.8548 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.3444, allocations: 0.7638 MB / 0.8555 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3445, allocations: 0 / 0.8555 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.3446, allocations: 32 kB / 0.8555 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.3446, allocations: 19.94 kB / 0.8556 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3456, allocations: 0.5673 MB / 0.8561 GB, free: 5.125 MB / 0.67 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.005139/0.3508, allocations: 4.01 MB / 0.86 GB, free: 0.793 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3518, allocations: 470.3 kB / 0.8605 GB, free: 336 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.3522, allocations: 220.9 kB / 0.8607 GB, free: 112 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.3536, allocations: 1.527 MB / 0.8622 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3536, allocations: 34.88 kB / 0.8622 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.3536, allocations: 4 kB / 0.8622 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.00146/0.3551, allocations: 0.6707 MB / 0.8629 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3551, allocations: 55.41 kB / 0.8629 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.3565, allocations: 1.002 MB / 0.8639 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.3566, allocations: 33.7 kB / 0.8639 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.3571, allocations: 484.6 kB / 0.8644 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.3572, allocations: 169.6 kB / 0.8646 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.3573, allocations: 8 kB / 0.8646 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3574, allocations: 326 kB / 0.8649 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.3578, allocations: 185 kB / 0.8651 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.3582, allocations: 332.5 kB / 0.8654 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.3587, allocations: 232.7 kB / 0.8656 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3587, allocations: 4 kB / 0.8656 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001117/0.3598, allocations: 0.6507 MB / 0.8662 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.36, allocations: 191.5 kB / 0.8664 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.36, allocations: 4 kB / 0.8664 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.36, allocations: 11.98 kB / 0.8664 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3605, allocations: 135.7 kB / 0.8666 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3605, allocations: 7.938 kB / 0.8666 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.3613, allocations: 103.2 kB / 0.8667 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.3614, allocations: 31.98 kB / 0.8667 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3614, allocations: 4 kB / 0.8667 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.3624, allocations: 0.5294 MB / 0.8672 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.3625, allocations: 4 kB / 0.8672 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3625, allocations: 11.98 kB / 0.8672 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.3629, allocations: 123.8 kB / 0.8673 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3629, allocations: 4.281 kB / 0.8674 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.3636, allocations: 95.28 kB / 0.8674 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.3637, allocations: 31.98 kB / 0.8675 GB, free: 8.66 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006383/0.3643, allocations: 340.9 kB / 0.8678 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.3645, allocations: 106.7 kB / 0.8679 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.3663, allocations: 0.9797 MB / 0.8689 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.3663, allocations: 7.984 kB / 0.8689 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3663, allocations: 0 / 0.8689 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.3674, allocations: 0.8531 MB / 0.8697 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3708, allocations: 2.027 MB / 0.8717 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.3708, allocations: 4 kB / 0.8717 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.3712, allocations: 103.8 kB / 0.8718 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.3712, allocations: 4 kB / 0.8718 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.3713, allocations: 16.22 kB / 0.8718 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.3713, allocations: 23.86 kB / 0.8718 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3713, allocations: 7.938 kB / 0.8718 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.3731, allocations: 1.206 MB / 0.873 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.3737, allocations: 307.4 kB / 0.8733 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.3739, allocations: 19.94 kB / 0.8733 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.3746, allocations: 47.91 kB / 0.8734 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3748, allocations: 56.48 kB / 0.8734 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.3748, allocations: 27.98 kB / 0.8734 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001222/0.3761, allocations: 0.7109 MB / 0.8741 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3761, allocations: 0 / 0.8741 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001799/0.3779, allocations: 0.5929 MB / 0.8747 GB, free: 0.9844 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003005/0.3809, allocations: 2.159 MB / 0.8768 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.3826, allocations: 0.9306 MB / 0.8777 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3826, allocations: 4 kB / 0.8777 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.3832, allocations: 407.5 kB / 0.8781 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.386, allocations: 0.5893 MB / 0.8787 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.399, allocations: 6.47 MB / 0.885 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.3999, allocations: 1.066 MB / 0.8861 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00129/0.4012, allocations: 288.9 kB / 0.8863 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.4018, allocations: 431.3 kB / 0.8868 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.4018, allocations: 7.938 kB / 0.8868 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06462/0.4665, allocations: 35.46 MB / 0.9214 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.4667, allocations: 224 kB / 0.9216 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.493, allocations: 4 kB / 0.9216 GB, free: 1.031 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: