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.00103/0.00103, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007374/0.007374, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.187/1.187, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.553/1.553, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004622/0.0004622, allocations: 18.12 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1784, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001882/0.1803, allocations: 1.725 MB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.184, allocations: 3.609 MB / 0.7932 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.1841, allocations: 4 kB / 0.7932 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1843, allocations: 43.75 kB / 0.7933 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1845, allocations: 99.41 kB / 0.7933 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1848, allocations: 107.8 kB / 0.7935 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1851, allocations: 235.1 kB / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1852, allocations: 52.3 kB / 0.7937 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1853, allocations: 99.56 kB / 0.7938 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1855, allocations: 103.5 kB / 0.7939 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1855, allocations: 8 kB / 0.7939 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1857, allocations: 107.8 kB / 0.794 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.1858, allocations: 35.83 kB / 0.7941 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1858, allocations: 121 kB / 0.7942 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1861, allocations: 263 kB / 0.7944 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1861, allocations: 0 / 0.7944 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1861, allocations: 0 / 0.7944 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1861, allocations: 0 / 0.7944 GB, free: 4.84 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.0009403/0.1871, allocations: 0.5764 MB / 0.795 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1871, allocations: 8.031 kB / 0.795 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1872, allocations: 46.73 kB / 0.795 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1872, allocations: 24.66 kB / 0.7951 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1876, allocations: 271.5 kB / 0.7953 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1876, allocations: 12.3 kB / 0.7953 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1876, allocations: 8.375 kB / 0.7953 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.1881, allocations: 189.5 kB / 0.7955 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.1881, allocations: 0 / 0.7955 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1882, allocations: 4 kB / 0.7955 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1882, allocations: 4 kB / 0.7955 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.1889, allocations: 235.8 kB / 0.7958 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.1897, allocations: 0.4924 MB / 0.7962 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.1901, allocations: 150.4 kB / 0.7964 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.1905, allocations: 136.8 kB / 0.7965 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/0.1913, allocations: 0.5728 MB / 0.7971 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1914, allocations: 38.5 kB / 0.7971 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1914, allocations: 0 / 0.7971 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001201/0.1926, allocations: 417.1 kB / 0.7975 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1926, allocations: 63.34 kB / 0.7976 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1928, allocations: 231 kB / 0.7978 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1929, allocations: 25.7 kB / 0.7978 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.193, allocations: 144 kB / 0.798 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.193, allocations: 43.39 kB / 0.798 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.193, allocations: 9.719 kB / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1932, allocations: 338.8 kB / 0.7983 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.1935, allocations: 111.9 kB / 0.7984 GB, free: 416 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.1939, allocations: 123.8 kB / 0.7986 GB, free: 292 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.1945, allocations: 244.7 kB / 0.7988 GB, free: 44 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1945, allocations: 0 / 0.7988 GB, free: 44 kB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007776/0.1953, allocations: 297.2 kB / 0.7991 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1954, allocations: 8 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1954, allocations: 0 / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1954, allocations: 0 / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.1957, allocations: 63.89 kB / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1957, allocations: 7.922 kB / 0.7991 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1959, allocations: 35.88 kB / 0.7992 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1959, allocations: 4 kB / 0.7992 GB, free: 15.62 MB / 0.6231 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.0001046/0.196, allocations: 130.7 kB / 0.7993 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1961, allocations: 15.81 kB / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.197, allocations: 323.2 kB / 0.7996 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.197, allocations: 0 / 0.7996 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.197, allocations: 7.875 kB / 0.7996 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.197, allocations: 3.938 kB / 0.7996 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1973, allocations: 277.3 kB / 0.7999 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1973, allocations: 0 / 0.7999 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1976, allocations: 55.94 kB / 0.8 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1976, allocations: 3.938 kB / 0.8 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1976, allocations: 7.984 kB / 0.8 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1976, allocations: 4 kB / 0.8 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1976, allocations: 3.938 kB / 0.8 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.1985, allocations: 400 kB / 0.8004 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.1986, allocations: 116.7 kB / 0.8005 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1986, allocations: 3.938 kB / 0.8005 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.1989, allocations: 43.91 kB / 0.8005 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.1989, allocations: 19.91 kB / 0.8005 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.199, allocations: 0 / 0.8005 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001354/0.1991, allocations: 174 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1991, allocations: 0 / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003066/0.1994, allocations: 52 kB / 0.8008 GB, free: 13.93 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.001177/0.2006, allocations: 0.9582 MB / 0.8017 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007699/0.2014, allocations: 267.7 kB / 0.8019 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2014, allocations: 0 / 0.8019 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.2018, allocations: 139.8 kB / 0.8021 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.2022, allocations: 36.34 kB / 0.8021 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.206, allocations: 2.652 MB / 0.8047 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2063, allocations: 0.7314 MB / 0.8054 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.2065, allocations: 40.83 kB / 0.8055 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2066, allocations: 67.41 kB / 0.8055 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of SimCode: time 4.2e-07/0.2066, allocations: 0 / 0.8055 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/0.5379, allocations: 4.418 MB / 0.8098 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.5382, allocations: 226.5 kB / 0.81 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.235, allocations: 0 / 0.81 GB, free: 4.43 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)