Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 191.2 kB / 16.14 MB, free: 6.707 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.278/1.278, allocations: 205.1 MB / 222 MB, free: 4.734 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.638/1.638, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001367/0.001367, allocations: 68.11 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1696, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003021/0.1726, allocations: 2.193 MB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.1765, allocations: 3.78 MB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.1766, allocations: 0 / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.1768, allocations: 43.75 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.1771, allocations: 119.2 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1774, allocations: 127.7 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.1777, allocations: 290.9 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1778, allocations: 60.69 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.178, allocations: 119.5 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1782, allocations: 143.3 kB / 0.7895 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1782, allocations: 16 kB / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1784, allocations: 119.8 kB / 0.7896 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1785, allocations: 51.75 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1786, allocations: 119.2 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1789, allocations: 318.9 kB / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.179, allocations: 4 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.179, allocations: 0 / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.179, allocations: 0 / 0.7901 GB, free: 6.395 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00117/0.1801, allocations: 0.6309 MB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1802, allocations: 8.031 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1802, allocations: 42.75 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.1812, allocations: 180.3 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.1819, allocations: 316.2 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1819, allocations: 20.25 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.182, allocations: 15.98 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.1826, allocations: 213.5 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1826, allocations: 0 / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1827, allocations: 8 kB / 0.7915 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1827, allocations: 7.984 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.1837, allocations: 283.6 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.1849, allocations: 0.5706 MB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.1855, allocations: 174.4 kB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.186, allocations: 160.5 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/0.1868, allocations: 0.5454 MB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1868, allocations: 42.55 kB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1869, allocations: 0 / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001661/0.1885, allocations: 485.2 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1886, allocations: 59.34 kB / 0.7937 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1888, allocations: 260.5 kB / 0.794 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1888, allocations: 33.7 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.1889, allocations: 152 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.189, allocations: 43.3 kB / 0.7942 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.1891, allocations: 37.69 kB / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1892, allocations: 342.8 kB / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.1897, allocations: 143.9 kB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.1902, allocations: 147.9 kB / 0.7948 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.1912, allocations: 287.3 kB / 0.7951 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1912, allocations: 0 / 0.7951 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001113/0.1923, allocations: 373 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1924, allocations: 11.94 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1924, allocations: 3.984 kB / 0.7955 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1924, allocations: 0 / 0.7955 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.1929, allocations: 63.92 kB / 0.7955 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1929, allocations: 0 / 0.7955 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1932, allocations: 51.73 kB / 0.7956 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1933, allocations: 7.984 kB / 0.7956 GB, free: 428 kB / 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 (17): * Single equations (assignments): 17 * 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.0001197/0.1934, allocations: 129.8 kB / 0.7957 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1934, allocations: 39.61 kB / 0.7958 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1946, allocations: 371.4 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1946, allocations: 0 / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1947, allocations: 4 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1947, allocations: 3.938 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.195, allocations: 305.4 kB / 0.7964 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.195, allocations: 0 / 0.7964 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1954, allocations: 63.86 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1954, allocations: 3.938 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.1955, allocations: 4 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1955, allocations: 3.984 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1955, allocations: 0 / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1966, allocations: 454.8 kB / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1967, allocations: 116.7 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.1967, allocations: 7.984 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.1971, allocations: 35.95 kB / 0.7971 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.1972, allocations: 19.91 kB / 0.7971 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.1972, allocations: 4 kB / 0.7971 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001496/0.1974, allocations: 191.1 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1974, allocations: 4 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003343/0.1977, allocations: 64 kB / 0.7973 GB, free: 14.53 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 (13): * Single equations (assignments): 13 * 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.001438/0.1992, allocations: 1.016 MB / 0.7983 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2002, allocations: 322.2 kB / 0.7986 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2002, allocations: 4 kB / 0.7986 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.2008, allocations: 163.8 kB / 0.7988 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2012, allocations: 44.17 kB / 0.7988 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.2061, allocations: 2.942 MB / 0.8017 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2063, allocations: 0.7552 MB / 0.8024 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.2066, allocations: 45.38 kB / 0.8025 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.2068, allocations: 75.39 kB / 0.8026 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of SimCode: time 1.402e-06/0.2068, allocations: 0 / 0.8026 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.2208, allocations: 5.305 MB / 0.8077 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.221, allocations: 228.1 kB / 0.808 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.904, allocations: 0 / 0.808 GB, free: 3.656 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)