Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.445/1.445, allocations: 287.4 MB / 302.5 MB, free: 8.293 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.0009217/0.0009218, allocations: 185 kB / 371.1 MB, free: 10.83 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.244/1.244, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007715/0.0007715, allocations: 90.14 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 12.06 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1842, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001622/0.1858, allocations: 1.581 MB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1886, allocations: 3.222 MB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1887, allocations: 4 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1889, allocations: 51.75 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1893, allocations: 115.4 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.43e-05/0.1893, allocations: 19.98 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1895, allocations: 167.2 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.1896, allocations: 37.66 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1897, allocations: 67.7 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1898, allocations: 75.62 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1899, allocations: 11.94 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.1899, allocations: 23.97 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.19, allocations: 31.84 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.19, allocations: 57.56 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.1901, allocations: 107.7 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1901, allocations: 4 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1901, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1901, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005989/0.1907, allocations: 0.4946 MB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1908, allocations: 12.03 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.1908, allocations: 34.75 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1908, allocations: 20.75 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1911, allocations: 246.9 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1911, allocations: 8.312 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1911, allocations: 384 / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1914, allocations: 157.5 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1914, allocations: 0 / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1914, allocations: 4 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.1915, allocations: 11.98 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1918, allocations: 159.8 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.1924, allocations: 464.5 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1927, allocations: 182.4 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1929, allocations: 112.8 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1929, allocations: 4 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.1929, allocations: 34.55 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.1929, allocations: 4 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000662/0.1936, allocations: 318.8 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.408e-05/0.1936, allocations: 55.41 kB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1938, allocations: 209 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1938, allocations: 25.7 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.1938, allocations: 128 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1939, allocations: 47.38 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.1939, allocations: 0 / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.1939, allocations: 334.8 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1941, allocations: 83.94 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1943, allocations: 85.44 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1947, allocations: 180.7 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1947, allocations: 0 / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004217/0.1951, allocations: 239.2 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.1951, allocations: 6.656 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1951, allocations: 0 / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1951, allocations: 4 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1954, allocations: 39.91 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1954, allocations: 3.984 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.1955, allocations: 23.92 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1955, allocations: 7.938 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.1956, allocations: 133.8 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1956, allocations: 23.66 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.1957, allocations: 29.84 kB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1957, allocations: 3.984 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1957, allocations: 0 / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1957, allocations: 0 / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1959, allocations: 269.4 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1959, allocations: 0 / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1961, allocations: 39.97 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1961, allocations: 3.984 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1961, allocations: 8 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1961, allocations: 0 / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1961, allocations: 0 / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.1966, allocations: 339 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1966, allocations: 108.9 kB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1967, allocations: 4 kB / 0.9887 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1968, allocations: 15.98 kB / 0.9887 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.1969, allocations: 23.97 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1969, allocations: 0 / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.975e-05/0.197, allocations: 160.4 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.197, allocations: 0 / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002117/0.1972, allocations: 35.98 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005858/0.1978, allocations: 0.8694 MB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.1982, allocations: 188.7 kB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1982, allocations: 0 / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1984, allocations: 107.9 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1987, allocations: 28.36 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2003, allocations: 1.325 MB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2004, allocations: 0.743 MB / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.2006, allocations: 48.55 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.2006, allocations: 51.41 kB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2006, allocations: 0 / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3935/0.5942, allocations: 3.5 MB / 0.9956 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.5943, allocations: 201.5 kB / 0.9958 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.323, allocations: 0 / 0.9958 GB, free: 10.35 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)