Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",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 1.048/1.048, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 184.6 kB / 182.2 MB, free: 9.449 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.421/1.421, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0008877/0.0008877, allocations: 92.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 286.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.454e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4343, allocations: 82.79 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7811/1.215, allocations: 361.2 MB / 1.11 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.216, allocations: 85.52 kB / 1.11 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.753/3.969, allocations: 0.6972 GB / 1.807 GB, free: 140.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/3.969, allocations: 0 / 1.807 GB, free: 140.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002413/3.969, allocations: 52.31 kB / 1.808 GB, free: 140.2 MB / 0.698 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.004513/3.973, allocations: 1.849 MB / 1.809 GB, free: 139.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/3.973, allocations: 11.75 kB / 1.809 GB, free: 139.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/3.975, allocations: 284.7 kB / 1.81 GB, free: 139.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006244/3.981, allocations: 2.511 MB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/3.981, allocations: 32.14 kB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/3.982, allocations: 65.91 kB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/3.983, allocations: 0.8365 MB / 1.813 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/3.985, allocations: 1.081 MB / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/3.985, allocations: 0 / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/3.985, allocations: 3.75 kB / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/3.985, allocations: 22.78 kB / 1.814 GB, free: 138.5 MB / 0.698 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.007771/3.992, allocations: 6.428 MB / 1.82 GB, free: 134.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/3.993, allocations: 0.5826 MB / 1.821 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/3.994, allocations: 370.4 kB / 1.821 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002591/3.996, allocations: 1.58 MB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/3.997, allocations: 326.8 kB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006603/3.997, allocations: 106.8 kB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.488e-06/3.997, allocations: 3.938 kB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001691/3.999, allocations: 0.8185 MB / 1.824 GB, free: 133.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/3.999, allocations: 60.47 kB / 1.824 GB, free: 133.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/4.001, allocations: 1.353 MB / 1.825 GB, free: 133.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/4.001, allocations: 33.48 kB / 1.825 GB, free: 133.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005891/4.001, allocations: 0.8502 MB / 1.826 GB, free: 133.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/4.002, allocations: 160.2 kB / 1.826 GB, free: 133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/4.002, allocations: 0 / 1.826 GB, free: 133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/4.002, allocations: 334.6 kB / 1.827 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/4.002, allocations: 256.2 kB / 1.827 GB, free: 132.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/4.003, allocations: 0.6813 MB / 1.828 GB, free: 132.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/4.003, allocations: 410 kB / 1.828 GB, free: 132.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/4.003, allocations: 0 / 1.828 GB, free: 132.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001934/4.005, allocations: 1.114 MB / 1.829 GB, free: 131.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007942/4.006, allocations: 4.1 MB / 1.833 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/4.006, allocations: 11.47 kB / 1.833 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/4.007, allocations: 119.3 kB / 1.833 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/4.007, allocations: 170.4 kB / 1.833 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005702/4.008, allocations: 0.7905 MB / 1.834 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/4.009, allocations: 86.45 kB / 1.834 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/4.009, allocations: 48.06 kB / 1.834 GB, free: 126.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/4.009, allocations: 7.344 kB / 1.834 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/4.011, allocations: 0.9319 MB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/4.011, allocations: 10.31 kB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/4.011, allocations: 110.4 kB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/4.012, allocations: 166.8 kB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/4.013, allocations: 2.027 MB / 1.837 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/4.014, allocations: 83.97 kB / 1.838 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/4.014, allocations: 42.12 kB / 1.838 GB, free: 124.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete 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.0002355/4.015, allocations: 142 kB / 1.838 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001363/4.016, allocations: 0.7484 MB / 1.838 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/4.016, allocations: 167 kB / 1.839 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/4.018, allocations: 0.9056 MB / 1.839 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/4.018, allocations: 10.66 kB / 1.839 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/4.018, allocations: 3.688 kB / 1.84 GB, free: 124 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/4.019, allocations: 0.8732 MB / 1.84 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/4.022, allocations: 1.969 MB / 1.842 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/4.022, allocations: 2.969 kB / 1.842 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/4.022, allocations: 90.11 kB / 1.842 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/4.023, allocations: 103.9 kB / 1.842 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/4.023, allocations: 10.98 kB / 1.842 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/4.023, allocations: 0.736 MB / 1.843 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/4.023, allocations: 0 / 1.843 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/4.025, allocations: 1.281 MB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/4.025, allocations: 300.9 kB / 1.845 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/4.025, allocations: 11.53 kB / 1.845 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/4.026, allocations: 69.75 kB / 1.845 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/4.026, allocations: 39.81 kB / 1.845 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/4.026, allocations: 24.17 kB / 1.845 GB, free: 121.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001133/4.027, allocations: 1.044 MB / 1.846 GB, free: 120.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/4.027, allocations: 0 / 1.846 GB, free: 120.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002567/4.03, allocations: 0.8573 MB / 1.847 GB, free: 120.5 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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.003135/4.033, allocations: 2.564 MB / 1.849 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002286/4.035, allocations: 1.345 MB / 1.851 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/4.035, allocations: 3.906 kB / 1.851 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/4.036, allocations: 293 kB / 1.851 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/4.039, allocations: 0.6162 MB / 1.851 GB, free: 118.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/4.044, allocations: 2.664 MB / 1.854 GB, free: 117.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/4.045, allocations: 1.53 MB / 1.856 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002711/4.047, allocations: 0.8138 MB / 1.856 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/4.048, allocations: 0.6297 MB / 1.857 GB, free: 115.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/4.048, allocations: 0 / 1.857 GB, free: 115.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/4.121, allocations: 45.29 MB / 1.901 GB, free: 75.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/4.121, allocations: 167.5 kB / 1.901 GB, free: 75.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.556/7.678, allocations: 3.938 kB / 1.901 GB, free: 75.61 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)