Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001201/0.001201, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.18/1.18, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.492/1.492, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001275/0.001275, allocations: 74.19 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002684/0.1662, allocations: 1.979 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.1695, allocations: 3.414 MB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.1697, allocations: 0 / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1699, allocations: 39.81 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.1703, allocations: 123.4 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.387e-05/0.1704, allocations: 19.97 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1706, allocations: 175.2 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.1707, allocations: 33.67 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1708, allocations: 83.62 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.171, allocations: 87.55 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.171, allocations: 12 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.1711, allocations: 23.98 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.1711, allocations: 35.84 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.1712, allocations: 83.47 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1714, allocations: 171.4 kB / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1714, allocations: 0 / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1714, allocations: 0 / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1714, allocations: 0 / 0.7891 GB, free: 7.484 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007598/0.1722, allocations: 0.5099 MB / 0.7896 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1722, allocations: 12.03 kB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1723, allocations: 38.75 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.1723, allocations: 16.75 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1726, allocations: 250.8 kB / 0.7899 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1726, allocations: 384 / 0.7899 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1726, allocations: 8.359 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.173, allocations: 141.5 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.173, allocations: 0 / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.173, allocations: 8 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.173, allocations: 11.98 kB / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1734, allocations: 139.8 kB / 0.7902 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.174, allocations: 460.4 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1744, allocations: 178.5 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.1746, allocations: 100.8 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1746, allocations: 4 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1747, allocations: 34.56 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1747, allocations: 0 / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007208/0.1754, allocations: 292.3 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1754, allocations: 59.34 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1756, allocations: 213 kB / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1756, allocations: 25.7 kB / 0.7915 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1757, allocations: 128 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1757, allocations: 43.45 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.1758, allocations: 33.69 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.1759, allocations: 330.8 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1761, allocations: 75.88 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1763, allocations: 84.17 kB / 0.7922 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1767, allocations: 164.8 kB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1767, allocations: 3.938 kB / 0.7923 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004832/0.1772, allocations: 216.7 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1772, allocations: 4.781 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1772, allocations: 0 / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1773, allocations: 4 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1775, allocations: 39.95 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1775, allocations: 0 / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1777, allocations: 23.92 kB / 0.7926 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1777, allocations: 7.938 kB / 0.7926 GB, free: 3.66 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 (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 prepare postOptimizeDAE: time 9.325e-05/0.1778, allocations: 130.4 kB / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1778, allocations: 19.72 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.1779, allocations: 29.83 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1779, allocations: 4 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1779, allocations: 0 / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1779, allocations: 0 / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1781, allocations: 265.5 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1781, allocations: 0 / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1784, allocations: 35.95 kB / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1784, allocations: 0 / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1784, allocations: 4 kB / 0.7931 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1784, allocations: 4 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1784, allocations: 0 / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.1789, allocations: 327 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.179, allocations: 108.8 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.179, allocations: 4 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1792, allocations: 19.97 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1793, allocations: 7.984 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1793, allocations: 4 kB / 0.7935 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001169/0.1794, allocations: 168.4 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1794, allocations: 0 / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002485/0.1797, allocations: 36 kB / 0.7937 GB, free: 2.422 MB / 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 (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.0007545/0.1804, allocations: 0.8604 MB / 0.7946 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.1809, allocations: 195.7 kB / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1809, allocations: 0 / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1811, allocations: 99.62 kB / 0.7948 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1815, allocations: 28.39 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.1842, allocations: 2.356 MB / 0.7972 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1844, allocations: 0.7236 MB / 0.7979 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000159/0.1846, allocations: 52.59 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1847, allocations: 55.41 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.1847, allocations: 0 / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.247, allocations: 3.693 MB / 0.8016 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.247, allocations: 221 kB / 0.8018 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/3.017, allocations: 0 / 0.8018 GB, free: 10.18 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)