Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 187.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 68.25 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2295, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003003/0.2326, allocations: 1.901 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.2362, allocations: 3.453 MB / 0.7889 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.2364, allocations: 0 / 0.7889 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.2367, allocations: 55.62 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.2371, allocations: 127.3 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.104e-05/0.2372, allocations: 27.91 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2374, allocations: 167.3 kB / 0.7892 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2376, allocations: 33.67 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2377, allocations: 83.62 kB / 0.7893 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2379, allocations: 75.62 kB / 0.7894 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2379, allocations: 8 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.238, allocations: 27.97 kB / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.2381, allocations: 43.78 kB / 0.7895 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.2381, allocations: 71.55 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2383, allocations: 171.3 kB / 0.7897 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2383, allocations: 0 / 0.7897 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2384, allocations: 0 / 0.7897 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2384, allocations: 4 kB / 0.7897 GB, free: 6.984 MB / 0.6075 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.0007779/0.2391, allocations: 0.4905 MB / 0.7902 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2392, allocations: 12.03 kB / 0.7902 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.2392, allocations: 50.59 kB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.2393, allocations: 24.75 kB / 0.7903 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.2396, allocations: 238.8 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.2396, allocations: 384 / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2396, allocations: 4.375 kB / 0.7905 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.24, allocations: 137.5 kB / 0.7906 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-06/0.24, allocations: 3.938 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.24, allocations: 8 kB / 0.7906 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.24, allocations: 11.98 kB / 0.7907 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.2405, allocations: 131.9 kB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.2411, allocations: 440.6 kB / 0.7912 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2415, allocations: 162.4 kB / 0.7914 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2417, allocations: 104.8 kB / 0.7915 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2418, allocations: 0 / 0.7915 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2418, allocations: 38.55 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.2418, allocations: 4 kB / 0.7915 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007651/0.2426, allocations: 284.8 kB / 0.7918 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2426, allocations: 51.41 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2428, allocations: 213 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2428, allocations: 29.64 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.2429, allocations: 120.1 kB / 0.7922 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.2429, allocations: 51.34 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.243, allocations: 29.7 kB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2431, allocations: 338.8 kB / 0.7926 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2433, allocations: 67.94 kB / 0.7926 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2435, allocations: 71.94 kB / 0.7927 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.244, allocations: 152.8 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.244, allocations: 0 / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004846/0.2445, allocations: 212.7 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2445, allocations: 14.5 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2445, allocations: 0 / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2445, allocations: 0 / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.2447, allocations: 39.89 kB / 0.7931 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2448, allocations: 0 / 0.7931 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2449, allocations: 19.89 kB / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2449, allocations: 7.938 kB / 0.7931 GB, free: 3.258 MB / 0.6075 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 0.0001026/0.245, allocations: 134.4 kB / 0.7933 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.2451, allocations: 15.81 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.2451, allocations: 29.83 kB / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2451, allocations: 0 / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2451, allocations: 0 / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2452, allocations: 0 / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2454, allocations: 265.4 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2454, allocations: 0 / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2456, allocations: 39.91 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2457, allocations: 4 kB / 0.7936 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2457, allocations: 4 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2457, allocations: 0 / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2457, allocations: 4 kB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.2462, allocations: 307.2 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.2463, allocations: 108.8 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2464, allocations: 0 / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2465, allocations: 15.98 kB / 0.794 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.2466, allocations: 15.91 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2466, allocations: 4 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001134/0.2467, allocations: 156.4 kB / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2467, allocations: 0 / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002587/0.247, allocations: 47.94 kB / 0.7942 GB, free: 2.035 MB / 0.6075 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.0008383/0.2478, allocations: 0.8411 MB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.2483, allocations: 171.7 kB / 0.7952 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2484, allocations: 0 / 0.7952 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2486, allocations: 94.62 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.249, allocations: 27 kB / 0.7953 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.2519, allocations: 2.249 MB / 0.7975 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.2522, allocations: 0.7352 MB / 0.7982 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.2523, allocations: 56.34 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.2524, allocations: 51.41 kB / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2524, allocations: 0 / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.2715, allocations: 3.716 MB / 0.802 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.618, allocations: 11.91 kB / 0.802 GB, free: 10.12 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)