Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001357/0.001357, allocations: 189.9 kB / 326.5 MB, free: 2.223 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.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009205/0.0009205, allocations: 95.67 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004337, allocations: 9.672 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002149/0.2459, allocations: 1.738 MB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.2493, allocations: 3.35 MB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2495, allocations: 0 / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.2497, allocations: 47.75 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.25, allocations: 123.6 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2504, allocations: 127.6 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2506, allocations: 195.6 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2508, allocations: 48.89 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.251, allocations: 115.6 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2511, allocations: 123.5 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2511, allocations: 12 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.2513, allocations: 111.8 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.2514, allocations: 43.81 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.2514, allocations: 61.58 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2517, allocations: 231.7 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2517, allocations: 0 / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2517, allocations: 4 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2517, allocations: 0 / 0.9063 GB, free: 57.47 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001095/0.2528, allocations: 0.6193 MB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2529, allocations: 8.031 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.2529, allocations: 42.5 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.2538, allocations: 159.4 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.2545, allocations: 319.2 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2545, allocations: 8.188 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2545, allocations: 16 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.2552, allocations: 254.9 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2552, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.2552, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2552, allocations: 7.953 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.2562, allocations: 336.3 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2576, allocations: 0.6061 MB / 0.9086 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.2581, allocations: 198.5 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.2589, allocations: 0.5766 MB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2589, allocations: 34.56 kB / 0.9094 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2589, allocations: 0 / 0.9094 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001566/0.2605, allocations: 0.5675 MB / 0.91 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.2606, allocations: 51.41 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2608, allocations: 268.5 kB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2608, allocations: 33.64 kB / 0.9103 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.2609, allocations: 148 kB / 0.9104 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.2609, allocations: 47.3 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.2609, allocations: 0 / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.261, allocations: 342.8 kB / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.2615, allocations: 175.9 kB / 0.911 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.262, allocations: 175.9 kB / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.2625, allocations: 175.9 kB / 0.9113 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2625, allocations: 0 / 0.9113 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001039/0.2635, allocations: 431.2 kB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2636, allocations: 8 kB / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2636, allocations: 0 / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2636, allocations: 0 / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.264, allocations: 79.92 kB / 0.9118 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.264, allocations: 0 / 0.9118 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.2644, allocations: 67.78 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2644, allocations: 8 kB / 0.9119 GB, free: 51.45 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 (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 0.0001167/0.2645, allocations: 137.7 kB / 0.912 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.2646, allocations: 27.62 kB / 0.912 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.2657, allocations: 439.3 kB / 0.9124 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2657, allocations: 0 / 0.9124 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2657, allocations: 4 kB / 0.9125 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2657, allocations: 3.984 kB / 0.9125 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.266, allocations: 301.4 kB / 0.9127 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.266, allocations: 0 / 0.9127 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2664, allocations: 75.86 kB / 0.9128 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.2664, allocations: 4 kB / 0.9128 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2664, allocations: 7.984 kB / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2665, allocations: 0 / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2665, allocations: 0 / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2675, allocations: 0.4972 MB / 0.9133 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2676, allocations: 124.7 kB / 0.9134 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.2677, allocations: 4 kB / 0.9134 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.268, allocations: 55.89 kB / 0.9135 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.2681, allocations: 15.97 kB / 0.9135 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2681, allocations: 7.984 kB / 0.9135 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001374/0.2683, allocations: 183.1 kB / 0.9137 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2683, allocations: 0 / 0.9137 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003489/0.2686, allocations: 72 kB / 0.9138 GB, free: 49.41 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 (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.00141/0.27, allocations: 1.075 MB / 0.9148 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.2711, allocations: 379.7 kB / 0.9152 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2711, allocations: 0 / 0.9152 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.2716, allocations: 195.8 kB / 0.9154 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.272, allocations: 29.39 kB / 0.9154 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2733, allocations: 0.8518 MB / 0.9162 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.2735, allocations: 0.7629 MB / 0.917 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000251/0.2738, allocations: 53.31 kB / 0.917 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2739, allocations: 75.39 kB / 0.9171 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2739, allocations: 0 / 0.9171 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2898, allocations: 5.158 MB / 0.9221 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.2901, allocations: 216.4 kB / 0.9223 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.209, allocations: 0 / 0.9223 GB, free: 40.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)