Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.348/1.348, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.00105/0.00105, allocations: 175 kB / 325.9 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.252/1.252, allocations: 205 MB / 0.576 GB, free: 20.94 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.0006607/0.0006607, allocations: 95.92 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 12.33 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1329, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001417/0.1344, allocations: 1.645 MB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1367, allocations: 3.409 MB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.1368, allocations: 0 / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.137, allocations: 43.81 kB / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1373, allocations: 127.3 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.207e-05/0.1373, allocations: 23.97 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1375, allocations: 187.1 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.1375, allocations: 21.69 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1377, allocations: 75.69 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.1378, allocations: 71.64 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1378, allocations: 4 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.1379, allocations: 27.91 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.1379, allocations: 35.83 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.138, allocations: 75.48 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1381, allocations: 147.4 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1381, allocations: 0 / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1381, allocations: 4 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.1381, allocations: 0 / 0.902 GB, free: 62.13 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.0005639/0.1387, allocations: 0.492 MB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1387, allocations: 8.031 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1387, allocations: 46.72 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1388, allocations: 20.66 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.139, allocations: 234.9 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.139, allocations: 4.375 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1391, allocations: 4.375 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.1393, allocations: 149.5 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.1393, allocations: 0 / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1394, allocations: 11.98 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.1394, allocations: 11.98 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.1397, allocations: 151.9 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1402, allocations: 444.5 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1405, allocations: 178.4 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1408, allocations: 112.8 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1408, allocations: 7.984 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.1408, allocations: 30.56 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1408, allocations: 0 / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000663/0.1415, allocations: 305.5 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.1415, allocations: 55.34 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1416, allocations: 205 kB / 0.9043 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1416, allocations: 33.7 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.1417, allocations: 116 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1417, allocations: 43.36 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1418, allocations: 21.7 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.1418, allocations: 330.8 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.142, allocations: 80.19 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1422, allocations: 90.69 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.1425, allocations: 176.7 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1425, allocations: 0 / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004135/0.143, allocations: 213.4 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.143, allocations: 7.984 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.143, allocations: 7.938 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.143, allocations: 0 / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1432, allocations: 39.97 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1432, allocations: 4 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1434, allocations: 19.92 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1434, allocations: 15.86 kB / 0.9055 GB, free: 58.29 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.36e-05/0.1435, allocations: 121.8 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1435, allocations: 23.72 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1435, allocations: 25.83 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1435, allocations: 4 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1435, allocations: 4 kB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1436, allocations: 0 / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1437, allocations: 257.5 kB / 0.9059 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1437, allocations: 3.938 kB / 0.9059 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1439, allocations: 39.97 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1439, allocations: 0 / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.144, allocations: 7.984 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.144, allocations: 0 / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.144, allocations: 4 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.1444, allocations: 333 kB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1445, allocations: 104.8 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1445, allocations: 11.98 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1447, allocations: 19.91 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1447, allocations: 15.98 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1447, allocations: 4 kB / 0.9064 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.1448, allocations: 160.4 kB / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002167/0.145, allocations: 36 kB / 0.9066 GB, free: 57.04 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.0005757/0.1456, allocations: 0.8528 MB / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.146, allocations: 188.5 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1461, allocations: 8 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1463, allocations: 104.5 kB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1466, allocations: 28.59 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1487, allocations: 2.315 MB / 0.91 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1488, allocations: 0.7352 MB / 0.9107 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.149, allocations: 52.58 kB / 0.9108 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.149, allocations: 51.41 kB / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.149, allocations: 3.938 kB / 0.9108 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3747/0.5237, allocations: 3.375 MB / 0.9141 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.5239, allocations: 225.3 kB / 0.9143 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.253, allocations: 0 / 0.9143 GB, free: 49.15 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)