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.436/1.436, allocations: 252 MB / 267 MB, free: 10.97 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.001039/0.001039, allocations: 169.9 kB / 326.6 MB, free: 2.23 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.982/1.982, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.001011/0.001011, allocations: 85.44 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004314, allocations: 12.95 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002258/0.268, allocations: 1.792 MB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004207/0.2722, allocations: 3.556 MB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2725, allocations: 0 / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.2728, allocations: 39.75 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.2733, allocations: 115.2 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.2737, allocations: 119.7 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2741, allocations: 266.9 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.2743, allocations: 48.89 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.2747, allocations: 111.6 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2749, allocations: 127.4 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.275, allocations: 12 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.2753, allocations: 111.8 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.2754, allocations: 51.75 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.2755, allocations: 61.58 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.2757, allocations: 223.7 kB / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2757, allocations: 0 / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.604e-06/0.2758, allocations: 0 / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2758, allocations: 0 / 0.9067 GB, free: 57.17 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.001225/0.277, allocations: 0.6348 MB / 0.9074 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2771, allocations: 8.031 kB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.2771, allocations: 38.56 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.2779, allocations: 163.4 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.2786, allocations: 323.2 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2786, allocations: 8.188 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2787, allocations: 12 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.2793, allocations: 255 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2793, allocations: 0 / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.2794, allocations: 0 / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2794, allocations: 7.953 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.2803, allocations: 347.6 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2815, allocations: 0.6021 MB / 0.9091 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.282, allocations: 202.4 kB / 0.9093 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.2825, allocations: 180.7 kB / 0.9094 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/0.2833, allocations: 0.5767 MB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2833, allocations: 34.55 kB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2833, allocations: 0 / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001577/0.2849, allocations: 0.5636 MB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2849, allocations: 55.41 kB / 0.9106 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2851, allocations: 260.6 kB / 0.9109 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2852, allocations: 33.7 kB / 0.9109 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.2852, allocations: 155.9 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.2853, allocations: 43.36 kB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.2853, allocations: 0 / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.2854, allocations: 342.8 kB / 0.9114 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.2859, allocations: 175.9 kB / 0.9116 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.2863, allocations: 178.5 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.2868, allocations: 171.9 kB / 0.9119 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2868, allocations: 0 / 0.9119 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001044/0.2879, allocations: 429 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2879, allocations: 10.5 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2879, allocations: 0 / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2879, allocations: 0 / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.2884, allocations: 87.86 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2884, allocations: 0 / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.2887, allocations: 63.78 kB / 0.9125 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2888, allocations: 8 kB / 0.9125 GB, free: 50.95 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.000122/0.2889, allocations: 129.8 kB / 0.9126 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.289, allocations: 27.62 kB / 0.9127 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2901, allocations: 441.1 kB / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2901, allocations: 0 / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2901, allocations: 3.938 kB / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2901, allocations: 3.984 kB / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.2904, allocations: 305.4 kB / 0.9134 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2904, allocations: 4 kB / 0.9134 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.2908, allocations: 75.92 kB / 0.9134 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2908, allocations: 0 / 0.9134 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2909, allocations: 7.984 kB / 0.9135 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2909, allocations: 0 / 0.9135 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2909, allocations: 4 kB / 0.9135 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2919, allocations: 0.4949 MB / 0.9139 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.292, allocations: 132.7 kB / 0.9141 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.292, allocations: 3.938 kB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.2924, allocations: 55.95 kB / 0.9141 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.2925, allocations: 11.97 kB / 0.9141 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2925, allocations: 11.98 kB / 0.9141 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001145/0.2926, allocations: 183.1 kB / 0.9143 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2926, allocations: 0 / 0.9143 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000326/0.293, allocations: 68 kB / 0.9144 GB, free: 48.91 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.001324/0.2943, allocations: 1.076 MB / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.2953, allocations: 379.7 kB / 0.9158 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2953, allocations: 0 / 0.9158 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.2958, allocations: 195.8 kB / 0.916 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2963, allocations: 32.62 kB / 0.916 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.2994, allocations: 1.861 MB / 0.9178 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2996, allocations: 0.7552 MB / 0.9186 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.2999, allocations: 45.39 kB / 0.9186 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3, allocations: 75.39 kB / 0.9187 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.3, allocations: 0 / 0.9187 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.3162, allocations: 5.222 MB / 0.9238 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/0.3165, allocations: 221.1 kB / 0.924 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.289, allocations: 0 / 0.924 GB, free: 39.15 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)