Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.227/1.227, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008412/0.0008412, allocations: 172.9 kB / 325.8 MB, free: 2.707 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.229/1.229, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006225/0.0006225, allocations: 82.94 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 15.05 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001439/0.1347, allocations: 1.656 MB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1371, allocations: 3.413 MB / 0.9012 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.1372, allocations: 4 kB / 0.9012 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1374, allocations: 43.81 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1377, allocations: 127.3 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.152e-05/0.1377, allocations: 23.92 kB / 0.9013 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1378, allocations: 191.2 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.1379, allocations: 25.67 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.138, allocations: 75.7 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1382, allocations: 79.55 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1382, allocations: 4 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.1383, allocations: 35.84 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.1383, allocations: 31.84 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.1384, allocations: 71.55 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1385, allocations: 159.3 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1385, allocations: 0 / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1385, allocations: 4 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1385, allocations: 0 / 0.902 GB, free: 62.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006058/0.1391, allocations: 498.6 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1392, allocations: 16.02 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1392, allocations: 34.75 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1392, allocations: 20.66 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1395, allocations: 246.8 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1395, allocations: 8.375 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1395, allocations: 8.359 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1398, allocations: 157.5 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1398, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1398, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1398, allocations: 15.92 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.1402, allocations: 163.8 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.1407, allocations: 460.5 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.141, allocations: 178.5 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1412, allocations: 119.9 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1412, allocations: 7.938 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.1413, allocations: 30.56 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1413, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0006507/0.1419, allocations: 325.6 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.1419, allocations: 55.41 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1421, allocations: 213 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1421, allocations: 25.7 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1421, allocations: 120.1 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1422, allocations: 39.36 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1422, allocations: 21.7 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.1422, allocations: 330.8 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1424, allocations: 83.94 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1426, allocations: 87.86 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.143, allocations: 180.8 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.143, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004158/0.1434, allocations: 235.1 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.1434, allocations: 8 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1434, allocations: 3.984 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1434, allocations: 0 / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1436, allocations: 43.89 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1437, allocations: 3.938 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1438, allocations: 27.83 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1438, allocations: 11.94 kB / 0.9056 GB, free: 58.18 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 (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 6.432e-05/0.1439, allocations: 125.8 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1439, allocations: 15.81 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.144, allocations: 25.83 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.144, allocations: 4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.144, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.144, allocations: 4 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1442, allocations: 269.4 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1442, allocations: 0 / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1444, allocations: 47.83 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1444, allocations: 0 / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1444, allocations: 4 kB / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1444, allocations: 0 / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1444, allocations: 0 / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.1449, allocations: 339.2 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1449, allocations: 108.8 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.145, allocations: 8 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1451, allocations: 15.97 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1452, allocations: 15.98 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1452, allocations: 4 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.1453, allocations: 164.4 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1453, allocations: 0 / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000215/0.1455, allocations: 40 kB / 0.9067 GB, free: 56.92 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.0005619/0.1461, allocations: 0.8672 MB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1465, allocations: 195.8 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1465, allocations: 0 / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1467, allocations: 103.9 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.147, allocations: 31.17 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1492, allocations: 2.399 MB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.1493, allocations: 0.743 MB / 0.911 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.1494, allocations: 44.61 kB / 0.911 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.1495, allocations: 47.41 kB / 0.9111 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1495, allocations: 0 / 0.9111 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5315/0.681, allocations: 3.508 MB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.6812, allocations: 243.8 kB / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.496, allocations: 3.938 kB / 0.9147 GB, free: 48.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)