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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001202/0.001202, allocations: 196.3 kB / 16.14 MB, free: 6.734 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.12/1.12, allocations: 205.1 MB / 222 MB, free: 5 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.465/1.465, 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.001226/0.001226, allocations: 68.42 kB / 0.6709 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002488/0.155, allocations: 2.068 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.1581, allocations: 3.675 MB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.1582, allocations: 0 / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1584, allocations: 43.75 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1586, allocations: 95.41 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1589, allocations: 111.8 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1591, allocations: 243.1 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.1592, allocations: 44.38 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1594, allocations: 103.5 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1595, allocations: 107.5 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1595, allocations: 12 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1597, allocations: 111.8 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1597, allocations: 39.83 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.1598, allocations: 95.33 kB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1601, allocations: 271.1 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1601, allocations: 0 / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1601, allocations: 0 / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1601, allocations: 0 / 0.7896 GB, free: 6.863 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.000932/0.161, allocations: 0.5801 MB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1611, allocations: 12.03 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1611, allocations: 42.73 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1612, allocations: 24.66 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1615, allocations: 275.5 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1615, allocations: 8.375 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1615, allocations: 4.375 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.162, allocations: 169.5 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.162, allocations: 4 kB / 0.7907 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.162, allocations: 4 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.162, allocations: 4 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.1626, allocations: 187.8 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.1634, allocations: 0.4925 MB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.1637, allocations: 126.4 kB / 0.7915 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.164, allocations: 112.8 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.1648, allocations: 0.5454 MB / 0.7921 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1648, allocations: 38.5 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.073e-06/0.1648, allocations: 4 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001022/0.1658, allocations: 353.3 kB / 0.7925 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1659, allocations: 59.34 kB / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.166, allocations: 230.7 kB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1661, allocations: 25.7 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.1661, allocations: 144 kB / 0.7929 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1662, allocations: 43.39 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1662, allocations: 25.7 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1663, allocations: 334.8 kB / 0.7933 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1666, allocations: 95.91 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1669, allocations: 95.91 kB / 0.7935 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.1675, allocations: 196.6 kB / 0.7937 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1675, allocations: 4 kB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006632/0.1682, allocations: 257.8 kB / 0.794 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.1682, allocations: 4 kB / 0.794 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1682, allocations: 4 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.1682, allocations: 4 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1685, allocations: 43.94 kB / 0.794 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1685, allocations: 7.875 kB / 0.794 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1687, allocations: 27.97 kB / 0.794 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1688, allocations: 7.984 kB / 0.794 GB, free: 1.984 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 8.841e-05/0.1688, allocations: 125.8 kB / 0.7942 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1689, allocations: 19.72 kB / 0.7942 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.1696, allocations: 283.2 kB / 0.7945 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1697, allocations: 4 kB / 0.7945 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1697, allocations: 3.938 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1697, allocations: 0 / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1699, allocations: 265.5 kB / 0.7947 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1699, allocations: 4 kB / 0.7947 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.1702, allocations: 51.88 kB / 0.7948 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1702, allocations: 4 kB / 0.7948 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1702, allocations: 7.984 kB / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1702, allocations: 0 / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1702, allocations: 3.938 kB / 0.7948 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.1709, allocations: 359.1 kB / 0.7951 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.171, allocations: 116.7 kB / 0.7952 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.171, allocations: 4 kB / 0.7952 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1713, allocations: 23.97 kB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.1713, allocations: 27.78 kB / 0.7953 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1714, allocations: 8 kB / 0.7953 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001095/0.1715, allocations: 170 kB / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002691/0.1718, allocations: 52 kB / 0.7955 GB, free: 400 kB / 0.6075 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.0009866/0.1728, allocations: 0.9112 MB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006559/0.1734, allocations: 215.8 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1734, allocations: 0 / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.1738, allocations: 123.8 kB / 0.7967 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1741, allocations: 36.78 kB / 0.7968 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.1773, allocations: 2.509 MB / 0.7992 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.1775, allocations: 0.7391 MB / 0.7999 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.1777, allocations: 36.84 kB / 0.8 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1778, allocations: 71.39 kB / 0.8 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.1778, allocations: 0 / 0.8 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/0.3943, allocations: 4.512 MB / 0.8044 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.3946, allocations: 226.3 kB / 0.8047 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.065, allocations: 0 / 0.8047 GB, free: 7.027 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)