Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_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.001612/0.001612, allocations: 99.7 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.002047/0.002047, allocations: 177.3 kB / 15.94 MB, free: 228 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.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.848/1.848, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.001032/0.001032, allocations: 12.56 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4158, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05376/0.4696, allocations: 38.49 MB / 0.8248 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.4845, allocations: 9.833 MB / 0.8344 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.4866, allocations: 51.69 kB / 0.8345 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.4889, allocations: 0.6218 MB / 0.8351 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.4955, allocations: 1.944 MB / 0.837 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.5007, allocations: 1.537 MB / 0.8385 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01513/0.5158, allocations: 12.03 MB / 0.8502 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.5268, allocations: 6.411 MB / 0.8565 GB, free: 4.785 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/0.5373, allocations: 4.578 MB / 0.8609 GB, free: 196 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00743/0.5448, allocations: 3.683 MB / 0.8645 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.5463, allocations: 288 kB / 0.8648 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.5508, allocations: 0.9872 MB / 0.8658 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.5525, allocations: 1.3 MB / 0.867 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002514/0.555, allocations: 1.561 MB / 0.8686 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5662, allocations: 10.09 MB / 0.8784 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5662, allocations: 0 / 0.8784 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5662, allocations: 3.938 kB / 0.8784 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003465/0.5666, allocations: 4 kB / 0.8784 GB, free: 14.22 MB / 0.7012 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.01446/0.5811, allocations: 6.622 MB / 0.8849 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5811, allocations: 12.03 kB / 0.8849 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002164/0.5833, allocations: 0.722 MB / 0.8856 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.5867, allocations: 0.8386 MB / 0.8864 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/0.6014, allocations: 6.826 MB / 0.8931 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.6019, allocations: 415.9 kB / 0.8935 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.6032, allocations: 0.5076 MB / 0.894 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.6175, allocations: 7.589 MB / 0.9014 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.6177, allocations: 19.88 kB / 0.9014 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000637/0.6183, allocations: 235.9 kB / 0.9017 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.6185, allocations: 167.9 kB / 0.9018 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5231/1.142, allocations: 6.032 MB / 0.9077 GB, free: 105.9 MB / 0.7169 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.06772/1.209, allocations: 29.6 MB / 0.9366 GB, free: 89.13 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008234/1.218, allocations: 3.606 MB / 0.9401 GB, free: 87.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.219, allocations: 0.9998 MB / 0.9411 GB, free: 86.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.219, allocations: 78.06 kB / 0.9412 GB, free: 86.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 4.709e-06/1.219, allocations: 0 / 0.9412 GB, free: 86.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.01224/1.231, allocations: 4.659 MB / 0.9457 GB, free: 83.92 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.232, allocations: 77.94 kB / 0.9458 GB, free: 83.85 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/1.246, allocations: 6.566 MB / 0.9522 GB, free: 80.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008982/1.247, allocations: 83.23 kB / 0.9523 GB, free: 80.45 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003011/1.25, allocations: 2.943 MB / 0.9552 GB, free: 77.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.252, allocations: 0.8965 MB / 0.956 GB, free: 77.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/1.252, allocations: 69.41 kB / 0.9561 GB, free: 77.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.252, allocations: 457.6 kB / 0.9565 GB, free: 76.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/1.255, allocations: 1.615 MB / 0.9581 GB, free: 75.85 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.258, allocations: 2.646 MB / 0.9607 GB, free: 73.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/1.26, allocations: 2.205 MB / 0.9629 GB, free: 72.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/1.26, allocations: 8.844 kB / 0.9629 GB, free: 72.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008429/1.269, allocations: 4.926 MB / 0.9677 GB, free: 69.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.002567/1.271, allocations: 15.03 MB / 0.9824 GB, free: 53.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.698e-05/1.272, allocations: 33.84 kB / 0.9824 GB, free: 53.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.805e-05/1.272, allocations: 55.31 kB / 0.9824 GB, free: 53.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.275, allocations: 0.8812 MB / 0.9833 GB, free: 53.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006374/1.276, allocations: 1.249 MB / 0.9845 GB, free: 52.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/1.282, allocations: 0.6686 MB / 0.9852 GB, free: 52.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/1.282, allocations: 152.7 kB / 0.9853 GB, free: 52.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.282, allocations: 3.75 kB / 0.9853 GB, free: 52.04 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005685/1.288, allocations: 4.421 MB / 0.9896 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/1.288, allocations: 32 kB / 0.9897 GB, free: 47.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/1.288, allocations: 59.84 kB / 0.9897 GB, free: 47.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.291, allocations: 0.851 MB / 0.9906 GB, free: 46.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-05/1.291, allocations: 71.72 kB / 0.9906 GB, free: 46.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/1.296, allocations: 0.5853 MB / 0.9912 GB, free: 46.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004535/1.297, allocations: 156 kB / 0.9914 GB, free: 46.04 MB / 0.7169 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.00412/1.301, allocations: 2.506 MB / 0.9938 GB, free: 43.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/1.303, allocations: 0.5482 MB / 0.9943 GB, free: 42.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/1.308, allocations: 3.876 MB / 0.9981 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.309, allocations: 24 kB / 0.9981 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.309, allocations: 4 kB / 0.9981 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003567/1.312, allocations: 2.974 MB / 1.001 GB, free: 35.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.341, allocations: 9.895 MB / 1.011 GB, free: 26.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.341, allocations: 3.828 kB / 1.011 GB, free: 26.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/1.343, allocations: 0.553 MB / 1.011 GB, free: 25.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.754e-05/1.343, allocations: 8 kB / 1.011 GB, free: 25.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/1.343, allocations: 83.94 kB / 1.011 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/1.344, allocations: 1.188 MB / 1.013 GB, free: 24.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.344, allocations: 3.938 kB / 1.013 GB, free: 24.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.354, allocations: 5.734 MB / 1.018 GB, free: 18.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004882/1.359, allocations: 1.427 MB / 1.02 GB, free: 16.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002672/1.362, allocations: 60.94 kB / 1.02 GB, free: 16.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005967/1.368, allocations: 396.6 kB / 1.02 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/1.368, allocations: 149.8 kB / 1.02 GB, free: 16.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.368, allocations: 147.9 kB / 1.02 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006618/1.375, allocations: 4.683 MB / 1.025 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.375, allocations: 0 / 1.025 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01063/1.386, allocations: 3.279 MB / 1.028 GB, free: 8.199 MB / 0.7169 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.009018/1.395, allocations: 6.822 MB / 1.035 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.405, allocations: 5.981 MB / 1.041 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/1.405, allocations: 4.562 kB / 1.041 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/1.408, allocations: 1.59 MB / 1.042 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01975/1.427, allocations: 3.875 MB / 1.046 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05482/1.482, allocations: 41.51 MB / 1.086 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007112/1.489, allocations: 4.631 MB / 1.091 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01141/1.501, allocations: 2.896 MB / 1.094 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005753/1.507, allocations: 2.549 MB / 1.096 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/1.507, allocations: 0 / 1.096 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.847/2.354, allocations: 181.9 MB / 1.274 GB, free: 298.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/2.354, allocations: 240.7 kB / 1.274 GB, free: 298.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/10.25, allocations: 1.875 kB / 1.274 GB, free: 298.3 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: