Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.419/1.419, allocations: 288.4 MB / 303.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008754/0.0008751, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006476/0.0006477, allocations: 98.84 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 13.09 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001476/0.1433, allocations: 1.785 MB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1458, allocations: 3.541 MB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1459, allocations: 3.938 kB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.146, allocations: 43.75 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1463, allocations: 115.2 kB / 0.9855 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1465, allocations: 111.8 kB / 0.9857 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1467, allocations: 274.9 kB / 0.9859 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.1468, allocations: 56.7 kB / 0.986 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.147, allocations: 111.5 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1471, allocations: 127.4 kB / 0.9862 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1471, allocations: 8 kB / 0.9862 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1473, allocations: 127.8 kB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1473, allocations: 39.83 kB / 0.9864 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.1474, allocations: 129.1 kB / 0.9865 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1476, allocations: 227.4 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1476, allocations: 0 / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1476, allocations: 3.938 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1476, allocations: 0 / 0.9867 GB, free: 20.55 MB / 0.6198 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.0008894/0.1485, allocations: 0.6271 MB / 0.9873 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1485, allocations: 8.031 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.1486, allocations: 38.75 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.1493, allocations: 160.4 kB / 0.9875 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.1499, allocations: 332.2 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1499, allocations: 12.31 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.15, allocations: 12 kB / 0.9879 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.1505, allocations: 257.4 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1505, allocations: 0 / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1506, allocations: 0 / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1506, allocations: 4 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.1515, allocations: 343.7 kB / 0.9884 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.1525, allocations: 0.6018 MB / 0.989 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.1529, allocations: 198.5 kB / 0.9892 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.1534, allocations: 184.7 kB / 0.9894 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.154, allocations: 0.5767 MB / 0.99 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.154, allocations: 30.56 kB / 0.99 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.154, allocations: 4 kB / 0.99 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001461/0.1555, allocations: 0.5615 MB / 0.9905 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.1555, allocations: 55.41 kB / 0.9906 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1557, allocations: 268.5 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1557, allocations: 29.7 kB / 0.9909 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1558, allocations: 148 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1558, allocations: 43.36 kB / 0.9911 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.1558, allocations: 0 / 0.9911 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.1559, allocations: 338.8 kB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.1563, allocations: 175.9 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.1568, allocations: 175.9 kB / 0.9917 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.1577, allocations: 362.4 kB / 0.9921 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1577, allocations: 0 / 0.9921 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009795/0.1587, allocations: 426.2 kB / 0.9925 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.1587, allocations: 8 kB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1587, allocations: 7.984 kB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.1587, allocations: 0 / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.1591, allocations: 83.86 kB / 0.9926 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1591, allocations: 7.938 kB / 0.9926 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.1594, allocations: 59.73 kB / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.1595, allocations: 15.98 kB / 0.9926 GB, free: 14.13 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.1596, allocations: 121.8 kB / 0.9928 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1596, allocations: 27.7 kB / 0.9928 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1607, allocations: 435.3 kB / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1607, allocations: 0 / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1607, allocations: 4 kB / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1607, allocations: 7.938 kB / 0.9932 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1609, allocations: 309.3 kB / 0.9935 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1609, allocations: 0 / 0.9935 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.1613, allocations: 75.92 kB / 0.9936 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1613, allocations: 7.984 kB / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1613, allocations: 0 / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1613, allocations: 3.984 kB / 0.9936 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1613, allocations: 0 / 0.9936 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.1623, allocations: 0.5039 MB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.1624, allocations: 112.8 kB / 0.9942 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.1624, allocations: 3.984 kB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.1628, allocations: 55.95 kB / 0.9942 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1628, allocations: 19.91 kB / 0.9943 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1629, allocations: 4 kB / 0.9943 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001015/0.163, allocations: 191.1 kB / 0.9944 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.163, allocations: 0 / 0.9944 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002644/0.1632, allocations: 71.84 kB / 0.9945 GB, free: 12.11 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.1644, allocations: 1.065 MB / 0.9956 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009656/0.1654, allocations: 379.7 kB / 0.9959 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1654, allocations: 0 / 0.9959 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.1659, allocations: 199.8 kB / 0.9961 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1662, allocations: 36.56 kB / 0.9961 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.169, allocations: 1.855 MB / 0.998 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.1691, allocations: 0.7473 MB / 0.9987 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.1693, allocations: 53.38 kB / 0.9987 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1694, allocations: 83.33 kB / 0.9988 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1695, allocations: 0 / 0.9988 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3129/0.4824, allocations: 5.215 MB / 1.004 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.4826, allocations: 219.5 kB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.761, allocations: 8 kB / 1.004 GB, free: 2.352 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)