Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.376/1.376, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009148/0.000915, 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.234/1.234, allocations: 205 MB / 0.576 GB, free: 21 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.000681/0.0006813, allocations: 90.22 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 14.56 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001523/0.1363, allocations: 1.746 MB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1389, allocations: 3.666 MB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.1389, allocations: 4 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1391, allocations: 39.75 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1393, allocations: 99.39 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1395, allocations: 115.8 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1397, allocations: 247 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.1398, allocations: 48.31 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1399, allocations: 95.61 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.14, allocations: 107.5 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1401, allocations: 8 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1402, allocations: 107.8 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.1403, allocations: 43.72 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1403, allocations: 91.45 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1405, allocations: 255.1 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1405, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1405, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1405, allocations: 0 / 0.9027 GB, free: 61.39 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007742/0.1413, allocations: 0.5764 MB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1414, allocations: 8.031 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.1414, allocations: 42.73 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1414, allocations: 24.66 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1417, allocations: 271.6 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1417, allocations: 8.375 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1418, allocations: 12.31 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.1421, allocations: 189.5 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1422, allocations: 0 / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1422, allocations: 8 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1422, allocations: 0 / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.1428, allocations: 231.8 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1434, allocations: 0.4925 MB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1437, allocations: 146.5 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.144, allocations: 132.7 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.1446, allocations: 0.5806 MB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.1446, allocations: 30.56 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.1447, allocations: 0 / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009824/0.1456, allocations: 425.3 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.1457, allocations: 55.34 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1458, allocations: 238.7 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1458, allocations: 25.7 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.1459, allocations: 140 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1459, allocations: 35.45 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1459, allocations: 21.7 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.146, allocations: 326.8 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1463, allocations: 119.8 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1466, allocations: 115.9 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1471, allocations: 253.2 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1471, allocations: 0 / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006179/0.1477, allocations: 301.2 kB / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.1478, allocations: 8 kB / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.1478, allocations: 0 / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1478, allocations: 0 / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.148, allocations: 63.88 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1481, allocations: 3.938 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1482, allocations: 35.97 kB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1483, allocations: 7.984 kB / 0.9074 GB, free: 56.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 (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 7.077e-05/0.1483, allocations: 125.8 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1484, allocations: 19.72 kB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.1491, allocations: 331 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1491, allocations: 0 / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1491, allocations: 3.938 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1491, allocations: 8 kB / 0.9079 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1493, allocations: 273.4 kB / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1493, allocations: 0 / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.1496, allocations: 55.95 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1496, allocations: 4 kB / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1496, allocations: 3.984 kB / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1496, allocations: 0 / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1496, allocations: 3.938 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.1502, allocations: 407 kB / 0.9086 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1503, allocations: 108.8 kB / 0.9087 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1503, allocations: 8 kB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1506, allocations: 35.95 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1506, allocations: 19.92 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1506, allocations: 7.984 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.292e-05/0.1507, allocations: 166 kB / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1507, allocations: 0 / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002394/0.151, allocations: 55.94 kB / 0.909 GB, free: 54.48 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 (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.0008378/0.1518, allocations: 0.9619 MB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.1524, allocations: 252.2 kB / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1524, allocations: 0 / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.1528, allocations: 144 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1531, allocations: 40.44 kB / 0.9104 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.1558, allocations: 2.614 MB / 0.9129 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.156, allocations: 0.7314 MB / 0.9136 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.1561, allocations: 44.83 kB / 0.9137 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.1562, allocations: 67.39 kB / 0.9137 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/0.1562, allocations: 0 / 0.9137 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2616/0.4178, allocations: 4.426 MB / 0.9181 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.418, allocations: 241.7 kB / 0.9183 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.302, allocations: 0 / 0.9183 GB, free: 45.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)