Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001335/0.001335, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 195.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.675/1.675, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001372/0.001372, allocations: 71.09 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.174, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002873/0.1769, allocations: 2.006 MB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.1805, allocations: 3.691 MB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.1806, allocations: 0 / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1808, allocations: 51.56 kB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1811, allocations: 111.3 kB / 0.7892 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1814, allocations: 127.7 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1817, allocations: 251.1 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1818, allocations: 52.38 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.182, allocations: 111.5 kB / 0.7897 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1821, allocations: 119.5 kB / 0.7898 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.1822, allocations: 16 kB / 0.7898 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1824, allocations: 119.8 kB / 0.79 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.1825, allocations: 43.78 kB / 0.79 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.1826, allocations: 107.4 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1829, allocations: 263.2 kB / 0.7903 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1829, allocations: 3.938 kB / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1829, allocations: 0 / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1829, allocations: 0 / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001048/0.1839, allocations: 0.5878 MB / 0.7909 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.184, allocations: 12.03 kB / 0.7909 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.184, allocations: 46.75 kB / 0.791 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1841, allocations: 20.66 kB / 0.791 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.1845, allocations: 267.6 kB / 0.7913 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1845, allocations: 8.375 kB / 0.7913 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1845, allocations: 8.375 kB / 0.7913 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.185, allocations: 173.5 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.185, allocations: 0 / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.185, allocations: 4 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1851, allocations: 4 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.1858, allocations: 191.8 kB / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.1866, allocations: 496.3 kB / 0.7921 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.187, allocations: 126.4 kB / 0.7922 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.1874, allocations: 116.7 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/0.1882, allocations: 0.5493 MB / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1882, allocations: 38.56 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1883, allocations: 0 / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001197/0.1895, allocations: 353.1 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1895, allocations: 59.34 kB / 0.7933 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1897, allocations: 234.7 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1897, allocations: 25.7 kB / 0.7935 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1898, allocations: 148.2 kB / 0.7937 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1899, allocations: 43.39 kB / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.1899, allocations: 29.64 kB / 0.7938 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1901, allocations: 334.8 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.1904, allocations: 95.84 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.1908, allocations: 99.91 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.1915, allocations: 192.7 kB / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1915, allocations: 0 / 0.7945 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007551/0.1922, allocations: 253.3 kB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1923, allocations: 4 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1923, allocations: 3.984 kB / 0.7947 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1923, allocations: 4 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.1926, allocations: 47.89 kB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1926, allocations: 7.922 kB / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1929, allocations: 35.86 kB / 0.7948 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1929, allocations: 4 kB / 0.7948 GB, free: 1.402 MB / 0.6075 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.193, allocations: 126.5 kB / 0.7949 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.193, allocations: 19.72 kB / 0.7949 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008496/0.1939, allocations: 279.1 kB / 0.7952 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1939, allocations: 4 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1939, allocations: 3.938 kB / 0.7952 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1939, allocations: 7.922 kB / 0.7952 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.1942, allocations: 269.5 kB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1942, allocations: 0 / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.1945, allocations: 51.94 kB / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1945, allocations: 0 / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1946, allocations: 4 kB / 0.7955 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1946, allocations: 0 / 0.7955 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1946, allocations: 7.922 kB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.1954, allocations: 359.9 kB / 0.7959 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.1955, allocations: 116.7 kB / 0.796 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1955, allocations: 0 / 0.796 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.1958, allocations: 31.91 kB / 0.796 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.1959, allocations: 15.92 kB / 0.796 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1959, allocations: 11.98 kB / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001314/0.196, allocations: 162 kB / 0.7962 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.196, allocations: 0 / 0.7962 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002977/0.1963, allocations: 55.98 kB / 0.7963 GB, free: 15.82 MB / 0.6231 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.1975, allocations: 0.919 MB / 0.7972 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007843/0.1983, allocations: 227.7 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1983, allocations: 0 / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.1987, allocations: 119.8 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.1991, allocations: 38.77 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.2028, allocations: 2.454 MB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2031, allocations: 0.7314 MB / 0.8006 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2033, allocations: 40.94 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2034, allocations: 71.34 kB / 0.8007 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2034, allocations: 0 / 0.8007 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8422/1.046, allocations: 4.918 MB / 0.8055 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.74, allocations: 19.61 kB / 0.8056 GB, free: 6.305 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)