Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.684/0.684, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 188.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008157, allocations: 99.02 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001678, allocations: 279.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.899e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3474, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6153/0.9627, allocations: 379.2 MB / 1.135 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.963, allocations: 90.27 kB / 1.135 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.037/8, allocations: 2.317 GB / 3.451 GB, free: 70.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/8.001, allocations: 0 / 3.451 GB, free: 70.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001356/8.002, allocations: 259.8 kB / 3.452 GB, free: 70.46 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02305/8.025, allocations: 7.313 MB / 3.459 GB, free: 67.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/8.025, allocations: 14.88 kB / 3.459 GB, free: 67.77 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002167/8.027, allocations: 0.7592 MB / 3.459 GB, free: 67.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/8.033, allocations: 1.229 MB / 3.461 GB, free: 67.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02645/8.06, allocations: 12.54 MB / 3.473 GB, free: 65.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/8.06, allocations: 436.5 kB / 3.473 GB, free: 65.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/8.063, allocations: 0.5849 MB / 3.474 GB, free: 65.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/8.085, allocations: 13.46 MB / 3.487 GB, free: 65.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/8.085, allocations: 21.12 kB / 3.487 GB, free: 65.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/8.086, allocations: 239.4 kB / 3.487 GB, free: 65.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/8.086, allocations: 137.4 kB / 3.487 GB, free: 65.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/8.108, allocations: 18.08 MB / 3.505 GB, free: 65.02 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.07759/8.185, allocations: 55.38 MB / 3.559 GB, free: 46.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/8.197, allocations: 8.698 MB / 3.568 GB, free: 46.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01096/8.208, allocations: 9.261 MB / 3.577 GB, free: 46.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04028/8.248, allocations: 26.3 MB / 3.602 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008729/8.257, allocations: 7.308 MB / 3.61 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04595/8.303, allocations: 21.17 MB / 3.63 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 2.687e-05/8.303, allocations: 0 / 3.63 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.0262/8.329, allocations: 14.49 MB / 3.644 GB, free: 16.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/8.329, allocations: 85.53 kB / 3.644 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/8.341, allocations: 7.41 MB / 3.652 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001735/8.343, allocations: 105.7 kB / 3.652 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003421/8.346, allocations: 4.001 MB / 3.656 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/8.349, allocations: 1.084 MB / 3.657 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/8.35, allocations: 88 kB / 3.657 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002849/8.35, allocations: 496.2 kB / 3.657 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/8.362, allocations: 6.408 MB / 3.664 GB, free: 0 / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4256/8.787, allocations: 7.89 MB / 3.671 GB, free: 75.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008839/8.796, allocations: 7.001 MB / 3.678 GB, free: 75.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/8.796, allocations: 13.28 kB / 3.678 GB, free: 75.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.02757/8.824, allocations: 16.35 MB / 3.694 GB, free: 75.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00391/8.828, allocations: 25.25 MB / 3.719 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-05/8.828, allocations: 45.88 kB / 3.719 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0613/8.889, allocations: 10.89 MB / 3.729 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008013/8.897, allocations: 1.605 MB / 3.731 GB, free: 49.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008121/8.906, allocations: 6.305 MB / 3.737 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/8.916, allocations: 0.6008 MB / 3.738 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/8.919, allocations: 0.5468 MB / 3.738 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/8.919, allocations: 2.781 kB / 3.738 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02689/8.946, allocations: 15.71 MB / 3.754 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/8.946, allocations: 47.06 kB / 3.754 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06206/9.008, allocations: 10.62 MB / 3.764 GB, free: 45.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008218/9.016, allocations: 1.593 MB / 3.766 GB, free: 45.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/9.028, allocations: 10.2 MB / 3.776 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/9.038, allocations: 0.5717 MB / 3.776 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/9.041, allocations: 0.5389 MB / 3.777 GB, free: 40.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.003431/9.044, allocations: 395.7 kB / 3.777 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003775/9.048, allocations: 0.7592 MB / 3.778 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/9.074, allocations: 13.48 MB / 3.791 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/9.074, allocations: 34.78 kB / 3.791 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/9.074, allocations: 0 / 3.791 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01239/9.086, allocations: 10.06 MB / 3.801 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/9.121, allocations: 23.72 MB / 3.824 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/9.122, allocations: 0 / 3.824 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00493/9.126, allocations: 0.6989 MB / 3.825 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05957/9.186, allocations: 9.943 MB / 3.834 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/9.187, allocations: 102.8 kB / 3.834 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/9.192, allocations: 4.305 MB / 3.839 GB, free: 32.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/9.192, allocations: 0 / 3.839 GB, free: 32.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/9.216, allocations: 18.22 MB / 3.856 GB, free: 31.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006112/9.222, allocations: 1.995 MB / 3.858 GB, free: 30.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002933/9.225, allocations: 71.34 kB / 3.858 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007782/9.233, allocations: 426.6 kB / 3.859 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00082/9.234, allocations: 218 kB / 3.859 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007165/9.235, allocations: 156.9 kB / 3.859 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.009782/9.244, allocations: 5.738 MB / 3.865 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.12e-07/9.244, allocations: 0 / 3.865 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02246/9.267, allocations: 4.934 MB / 3.87 GB, free: 27.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02546/9.292, allocations: 19.81 MB / 3.889 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04696/9.339, allocations: 24.66 MB / 3.913 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/9.339, allocations: 0 / 3.913 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009561/9.349, allocations: 6.09 MB / 3.919 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02331/9.372, allocations: 4.613 MB / 3.924 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/9.414, allocations: 19.53 MB / 3.943 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006065/9.42, allocations: 5.38 MB / 3.948 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.4506/9.87, allocations: 8.348 MB / 3.956 GB, free: 94.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007774/9.878, allocations: 3.659 MB / 3.96 GB, free: 94.31 MB / 0.7761 GB Notification: Performance of SimCode: time 1.282e-06/9.878, allocations: 0 / 3.96 GB, free: 94.31 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7576/10.64, allocations: 299.8 MB / 4.252 GB, free: 117.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/10.64, allocations: 235.7 kB / 4.253 GB, free: 116.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/20.96, allocations: 0 / 4.253 GB, free: 116.9 MB / 0.823 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)