Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 189 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008161, allocations: 95.88 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.682/1.962, allocations: 422.4 MB / 1.401 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.962, allocations: 102.4 kB / 1.401 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.802/6.764, allocations: 1.312 GB / 2.713 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.697e-06/6.764, allocations: 0 / 2.713 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006439/6.765, allocations: 92.91 kB / 2.713 GB, free: 124.6 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01732/6.782, allocations: 4.052 MB / 2.717 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/6.782, allocations: 12.03 kB / 2.717 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/6.783, allocations: 228 kB / 2.717 GB, free: 121 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/6.787, allocations: 0.5345 MB / 2.718 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/6.8, allocations: 4.357 MB / 2.722 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/6.801, allocations: 146.2 kB / 2.722 GB, free: 116 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/6.801, allocations: 191.9 kB / 2.722 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/6.805, allocations: 2.23 MB / 2.725 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/6.805, allocations: 7.938 kB / 2.725 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/6.805, allocations: 64 kB / 2.725 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/6.805, allocations: 42.41 kB / 2.725 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/6.808, allocations: 1.779 MB / 2.726 GB, free: 111.5 MB / 0.9792 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.01424/6.822, allocations: 11.53 MB / 2.738 GB, free: 99.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/6.824, allocations: 1.269 MB / 2.739 GB, free: 98.13 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/6.831, allocations: 3.446 MB / 2.742 GB, free: 94.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/6.832, allocations: 0.7155 MB / 2.743 GB, free: 93.72 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002557/6.835, allocations: 0.6154 MB / 2.744 GB, free: 93.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=98): time 4.649e-06/6.835, allocations: 0 / 2.744 GB, free: 93.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=98): time 0.008643/6.843, allocations: 3.561 MB / 2.747 GB, free: 89.52 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/6.843, allocations: 72.3 kB / 2.747 GB, free: 89.43 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/6.847, allocations: 2.48 MB / 2.75 GB, free: 86.96 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/6.847, allocations: 57.7 kB / 2.75 GB, free: 86.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/6.848, allocations: 1.424 MB / 2.751 GB, free: 85.46 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/6.849, allocations: 348.2 kB / 2.751 GB, free: 85.12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/6.849, allocations: 28 kB / 2.751 GB, free: 85.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001008/6.849, allocations: 361.9 kB / 2.752 GB, free: 84.74 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009721/6.85, allocations: 0.5582 MB / 2.752 GB, free: 84.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/6.851, allocations: 1.334 MB / 2.754 GB, free: 82.49 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/6.852, allocations: 0.7702 MB / 2.754 GB, free: 81.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/6.852, allocations: 4 kB / 2.754 GB, free: 81.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00426/6.857, allocations: 2.46 MB / 2.757 GB, free: 79.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/6.858, allocations: 5.981 MB / 2.763 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/6.858, allocations: 20 kB / 2.763 GB, free: 72.69 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/6.859, allocations: 0.4941 MB / 2.763 GB, free: 72.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/6.86, allocations: 284.7 kB / 2.763 GB, free: 71.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/6.862, allocations: 1.886 MB / 2.765 GB, free: 69.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/6.865, allocations: 188 kB / 2.765 GB, free: 69.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/6.865, allocations: 79.97 kB / 2.765 GB, free: 69.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/6.865, allocations: 7.938 kB / 2.765 GB, free: 69.72 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003329/6.868, allocations: 2.205 MB / 2.768 GB, free: 67.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/6.868, allocations: 12 kB / 2.768 GB, free: 67.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007905/6.869, allocations: 477.8 kB / 2.768 GB, free: 67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/6.87, allocations: 257.4 kB / 2.768 GB, free: 66.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/6.876, allocations: 5.951 MB / 2.774 GB, free: 60.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/6.879, allocations: 176.1 kB / 2.774 GB, free: 60.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/6.879, allocations: 67.98 kB / 2.774 GB, free: 60.29 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001932/6.881, allocations: 0.8327 MB / 2.775 GB, free: 59.45 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00078/6.882, allocations: 292.2 kB / 2.775 GB, free: 59.16 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/6.886, allocations: 2.2 MB / 2.778 GB, free: 56.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/6.886, allocations: 15.98 kB / 2.778 GB, free: 56.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/6.886, allocations: 0 / 2.778 GB, free: 56.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002521/6.888, allocations: 1.899 MB / 2.78 GB, free: 55.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/6.896, allocations: 4.113 MB / 2.784 GB, free: 50.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/6.896, allocations: 0 / 2.784 GB, free: 50.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/6.897, allocations: 129.7 kB / 2.784 GB, free: 50.72 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/6.898, allocations: 478.9 kB / 2.784 GB, free: 50.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/6.898, allocations: 27.98 kB / 2.784 GB, free: 50.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/6.899, allocations: 1.854 MB / 2.786 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/6.899, allocations: 0 / 2.786 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00447/6.903, allocations: 2.904 MB / 2.789 GB, free: 45.38 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/6.905, allocations: 0.4932 MB / 2.789 GB, free: 44.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/6.906, allocations: 23.98 kB / 2.789 GB, free: 44.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/6.907, allocations: 143.5 kB / 2.789 GB, free: 44.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/6.907, allocations: 68.84 kB / 2.789 GB, free: 44.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/6.907, allocations: 39.97 kB / 2.79 GB, free: 44.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002563/6.91, allocations: 1.935 MB / 2.791 GB, free: 42.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.6e-07/6.91, allocations: 0 / 2.791 GB, free: 42.67 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004759/6.914, allocations: 1.454 MB / 2.793 GB, free: 41.22 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.005909/6.92, allocations: 4.338 MB / 2.797 GB, free: 36.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004837/6.925, allocations: 2.914 MB / 2.8 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/6.925, allocations: 0 / 2.8 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/6.926, allocations: 0.6987 MB / 2.801 GB, free: 33.31 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005836/6.932, allocations: 1.184 MB / 2.802 GB, free: 32.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/6.948, allocations: 17.88 MB / 2.819 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/6.949, allocations: 2.091 MB / 2.821 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003246/6.953, allocations: 0.7388 MB / 2.822 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/6.954, allocations: 1.147 MB / 2.823 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of SimCode: time 1.753e-06/6.954, allocations: 0 / 2.823 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.79/7.744, allocations: 83.21 MB / 2.904 GB, free: 142.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/7.744, allocations: 248.1 kB / 2.905 GB, free: 142 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/13.69, allocations: 0 / 2.905 GB, free: 142 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)