Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",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.0008407/0.000841, allocations: 86.33 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.0008247/0.0008248, 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.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.749/1.749, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005308/0.0005309, allocations: 22.05 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02737/0.2541, allocations: 30.17 MB / 0.8169 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.271, allocations: 12.25 MB / 0.8288 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.2728, allocations: 43.75 kB / 0.8289 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.2745, allocations: 493 kB / 0.8293 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.278, allocations: 1.282 MB / 0.8306 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.2816, allocations: 1.067 MB / 0.8316 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008591/0.2902, allocations: 5.491 MB / 0.837 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.2933, allocations: 1.584 MB / 0.8385 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.2968, allocations: 1.56 MB / 0.8401 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.2987, allocations: 1.291 MB / 0.8413 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.2989, allocations: 72 kB / 0.8414 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.3009, allocations: 0.8815 MB / 0.8423 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.3013, allocations: 386.3 kB / 0.8426 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.3019, allocations: 400.6 kB / 0.843 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.3042, allocations: 2.163 MB / 0.8451 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3042, allocations: 0 / 0.8451 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3042, allocations: 3.938 kB / 0.8451 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.3043, allocations: 0 / 0.8451 GB, free: 0.5547 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003249/0.3075, allocations: 2.092 MB / 0.8472 GB, free: 14.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3076, allocations: 12.03 kB / 0.8472 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.3078, allocations: 151.8 kB / 0.8473 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3088, allocations: 301.3 kB / 0.8476 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.3115, allocations: 1.591 MB / 0.8492 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.3116, allocations: 78 kB / 0.8492 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3118, allocations: 108 kB / 0.8493 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3139, allocations: 1.326 MB / 0.8506 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3139, allocations: 4 kB / 0.8506 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.314, allocations: 36 kB / 0.8507 GB, free: 10.67 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.3141, allocations: 28 kB / 0.8507 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.316, allocations: 1.054 MB / 0.8517 GB, free: 9.59 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.007168/0.3231, allocations: 6.992 MB / 0.8586 GB, free: 2.098 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.3245, allocations: 0.68 MB / 0.8592 GB, free: 1.406 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/0.3252, allocations: 430.4 kB / 0.8596 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/0.3277, allocations: 1.826 MB / 0.8614 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007744/0.3285, allocations: 420.9 kB / 0.8618 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000456/0.329, allocations: 103.4 kB / 0.8619 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.395e-06/0.329, allocations: 0 / 0.8619 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.003641/0.3327, allocations: 1.547 MB / 0.8634 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3327, allocations: 59.41 kB / 0.8635 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.3348, allocations: 1.839 MB / 0.8653 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.3349, allocations: 41.7 kB / 0.8653 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/0.3355, allocations: 0.8541 MB / 0.8661 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3357, allocations: 165.8 kB / 0.8663 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3357, allocations: 16 kB / 0.8663 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3358, allocations: 337.9 kB / 0.8666 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/0.3365, allocations: 317.8 kB / 0.8669 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.3374, allocations: 0.78 MB / 0.8677 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.3382, allocations: 454.3 kB / 0.8681 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3382, allocations: 4 kB / 0.8681 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002552/0.3407, allocations: 1.343 MB / 0.8695 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.341, allocations: 427.9 kB / 0.8699 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.341, allocations: 16 kB / 0.8699 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/0.3418, allocations: 212.6 kB / 0.8701 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.3424, allocations: 183.7 kB / 0.8703 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007379/0.3432, allocations: 0.8409 MB / 0.8711 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.3444, allocations: 136.2 kB / 0.8712 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.3445, allocations: 47.98 kB / 0.8713 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3446, allocations: 4 kB / 0.8713 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/0.3462, allocations: 1.024 MB / 0.8723 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3463, allocations: 19.89 kB / 0.8723 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.3466, allocations: 161.4 kB / 0.8724 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.3471, allocations: 163.7 kB / 0.8726 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.3496, allocations: 2.35 MB / 0.8749 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3508, allocations: 108.5 kB / 0.875 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.3509, allocations: 47.98 kB / 0.875 GB, free: 408 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008834/0.3518, allocations: 0.586 MB / 0.8756 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.3521, allocations: 177.8 kB / 0.8758 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.3543, allocations: 1.062 MB / 0.8768 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3543, allocations: 7.984 kB / 0.8768 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3544, allocations: 7.953 kB / 0.8768 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/0.3559, allocations: 1.023 MB / 0.8778 GB, free: 13.45 MB / 0.7012 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 postOpt removeSimpleEquations (simulation): time 0.004027/0.3599, allocations: 2.32 MB / 0.8801 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.36, allocations: 0 / 0.8801 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.3604, allocations: 99.92 kB / 0.8802 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.3608, allocations: 140.7 kB / 0.8803 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.3608, allocations: 15.98 kB / 0.8803 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/0.3615, allocations: 0.8098 MB / 0.8811 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3615, allocations: 3.938 kB / 0.8811 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.3641, allocations: 1.483 MB / 0.8826 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/0.3648, allocations: 338.8 kB / 0.8829 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.3651, allocations: 11.98 kB / 0.8829 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3661, allocations: 99.81 kB / 0.883 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3662, allocations: 36.38 kB / 0.883 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.3663, allocations: 23.98 kB / 0.8831 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001965/0.3683, allocations: 1.274 MB / 0.8843 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3683, allocations: 0 / 0.8843 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002799/0.3711, allocations: 0.8423 MB / 0.8851 GB, free: 5.773 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003909/0.375, allocations: 2.235 MB / 0.8873 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.3781, allocations: 1.532 MB / 0.8888 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3781, allocations: 3.938 kB / 0.8888 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.3789, allocations: 378.9 kB / 0.8892 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/0.3831, allocations: 0.8433 MB / 0.89 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.4051, allocations: 11.31 MB / 0.901 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.4064, allocations: 1.495 MB / 0.9025 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001829/0.4082, allocations: 434 kB / 0.9029 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009276/0.4092, allocations: 0.6516 MB / 0.9036 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.4092, allocations: 0 / 0.9036 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5529/0.9621, allocations: 48.62 MB / 0.951 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.9623, allocations: 246.8 kB / 0.9513 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.917, allocations: 3.875 kB / 0.9513 GB, free: 118.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: