Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 176.9 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006492/0.0006492, allocations: 97.17 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002638, allocations: 8.688 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1347, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001527/0.1363, allocations: 1.867 MB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.139, allocations: 3.776 MB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.1391, allocations: 0 / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.1393, allocations: 51.69 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1395, allocations: 111.3 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1397, allocations: 127.7 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1399, allocations: 290.9 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.14, allocations: 56.66 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1402, allocations: 115.5 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1403, allocations: 143.3 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1403, allocations: 8 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1405, allocations: 123.8 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1405, allocations: 39.83 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.1406, allocations: 115.2 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1409, allocations: 318.9 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1409, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1409, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1409, allocations: 3.938 kB / 0.9032 GB, free: 60.92 MB / 0.6042 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.0008575/0.1417, allocations: 0.6233 MB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.1418, allocations: 8.031 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.1418, allocations: 38.75 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.1426, allocations: 164.3 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.1431, allocations: 328.3 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1431, allocations: 20.3 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1432, allocations: 12 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.1437, allocations: 252.7 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1437, allocations: 0 / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1437, allocations: 7.984 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1437, allocations: 7.938 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.1446, allocations: 339.7 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.1455, allocations: 0.5979 MB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.146, allocations: 202.4 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.1464, allocations: 180.7 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/0.1471, allocations: 0.5806 MB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.014e-05/0.1471, allocations: 38.55 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1471, allocations: 0 / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001405/0.1485, allocations: 0.5653 MB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.1485, allocations: 59.41 kB / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1487, allocations: 264.5 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1487, allocations: 29.7 kB / 0.9073 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1488, allocations: 148 kB / 0.9075 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1488, allocations: 47.36 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1489, allocations: 17.72 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.1489, allocations: 338.8 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.1494, allocations: 179.8 kB / 0.908 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.1498, allocations: 175.9 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.1507, allocations: 351.3 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1507, allocations: 4 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009446/0.1516, allocations: 429 kB / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.1517, allocations: 8 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1517, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1517, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.1521, allocations: 87.91 kB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1521, allocations: 0 / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.1524, allocations: 63.73 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1524, allocations: 11.98 kB / 0.9091 GB, free: 54.48 MB / 0.6042 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 7.914e-05/0.1525, allocations: 125.8 kB / 0.9092 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.1525, allocations: 23.72 kB / 0.9092 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.1535, allocations: 435.3 kB / 0.9097 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1535, allocations: 11.94 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1535, allocations: 0 / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1536, allocations: 3.938 kB / 0.9097 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1538, allocations: 305.4 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1538, allocations: 0 / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.1541, allocations: 83.86 kB / 0.91 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1541, allocations: 0 / 0.91 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1542, allocations: 3.984 kB / 0.9101 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1542, allocations: 4 kB / 0.9101 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1542, allocations: 3.984 kB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.1551, allocations: 0.4938 MB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1552, allocations: 124.6 kB / 0.9107 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1552, allocations: 4 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.1555, allocations: 59.94 kB / 0.9107 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.1556, allocations: 15.92 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1556, allocations: 11.98 kB / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1557, allocations: 191 kB / 0.9109 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 3.938 kB / 0.9109 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002584/0.156, allocations: 71.98 kB / 0.911 GB, free: 52.44 MB / 0.6042 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.00115/0.1571, allocations: 1.06 MB / 0.912 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009158/0.1581, allocations: 387.5 kB / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1581, allocations: 4 kB / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.1585, allocations: 191.8 kB / 0.9126 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1589, allocations: 34.98 kB / 0.9126 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.1627, allocations: 3.112 MB / 0.9157 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1628, allocations: 0.7473 MB / 0.9164 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00021/0.163, allocations: 45.39 kB / 0.9164 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1631, allocations: 79.39 kB / 0.9165 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1631, allocations: 7.938 kB / 0.9165 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/0.3693, allocations: 5.208 MB / 0.9216 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.3695, allocations: 240.9 kB / 0.9218 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.24, allocations: 0 / 0.9218 GB, free: 41.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)