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.422/1.422, allocations: 252 MB / 267.3 MB, free: 10.85 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.001382/0.001382, allocations: 174.6 kB / 327 MB, free: 2.09 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.886/1.886, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008678/0.0008678, allocations: 97.89 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 9.312 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002014/0.227, allocations: 1.85 MB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2304, allocations: 3.717 MB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.2306, allocations: 4 kB / 0.9064 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.2308, allocations: 51.95 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.2312, allocations: 111.3 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2315, allocations: 123.7 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2318, allocations: 298.9 kB / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2319, allocations: 56.72 kB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2321, allocations: 119.5 kB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2322, allocations: 135.4 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2323, allocations: 8 kB / 0.9072 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2325, allocations: 115.8 kB / 0.9073 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.2326, allocations: 47.75 kB / 0.9074 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.2327, allocations: 137 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2329, allocations: 314.9 kB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.233, allocations: 0 / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.233, allocations: 0 / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.233, allocations: 0 / 0.9078 GB, free: 56.26 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.001015/0.234, allocations: 0.6241 MB / 0.9084 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.234, allocations: 8.031 kB / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2341, allocations: 50.67 kB / 0.9085 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.2349, allocations: 160.3 kB / 0.9086 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.2356, allocations: 332.3 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2356, allocations: 8.312 kB / 0.909 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.2356, allocations: 12 kB / 0.909 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.2363, allocations: 258.5 kB / 0.9092 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2363, allocations: 0 / 0.9092 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2363, allocations: 4 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2363, allocations: 4 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.2372, allocations: 343.7 kB / 0.9095 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2384, allocations: 0.5979 MB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.2389, allocations: 198.4 kB / 0.9103 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.2394, allocations: 184.7 kB / 0.9105 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/0.2402, allocations: 0.5806 MB / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2402, allocations: 34.5 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/0.2403, allocations: 0 / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001602/0.2419, allocations: 0.5692 MB / 0.9116 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2419, allocations: 59.39 kB / 0.9117 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.2421, allocations: 264.5 kB / 0.912 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2422, allocations: 25.7 kB / 0.912 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.2422, allocations: 152 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2423, allocations: 43.36 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2423, allocations: 4 kB / 0.9122 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.2424, allocations: 334.8 kB / 0.9125 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.2429, allocations: 179.9 kB / 0.9127 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.2433, allocations: 175.9 kB / 0.9128 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.2443, allocations: 350.8 kB / 0.9132 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2443, allocations: 8 kB / 0.9132 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001033/0.2454, allocations: 429 kB / 0.9136 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2454, allocations: 4 kB / 0.9136 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2454, allocations: 3.984 kB / 0.9136 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2454, allocations: 0 / 0.9136 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2459, allocations: 83.91 kB / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2459, allocations: 0 / 0.9137 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.2462, allocations: 67.73 kB / 0.9137 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.2462, allocations: 7.984 kB / 0.9137 GB, free: 49.85 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.2464, allocations: 133.8 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2464, allocations: 19.72 kB / 0.9139 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2475, allocations: 439.3 kB / 0.9143 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2475, allocations: 4 kB / 0.9143 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2475, allocations: 7.938 kB / 0.9143 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2475, allocations: 3.938 kB / 0.9143 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.2478, allocations: 309.2 kB / 0.9146 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2478, allocations: 4 kB / 0.9146 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.2482, allocations: 75.92 kB / 0.9147 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2482, allocations: 0 / 0.9147 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2483, allocations: 11.92 kB / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2483, allocations: 4 kB / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2483, allocations: 0 / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2493, allocations: 0.4976 MB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.2494, allocations: 120.7 kB / 0.9153 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.2495, allocations: 7.938 kB / 0.9153 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.2498, allocations: 51.94 kB / 0.9154 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.2499, allocations: 19.92 kB / 0.9154 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2499, allocations: 7.984 kB / 0.9154 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001201/0.25, allocations: 187.1 kB / 0.9156 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.25, allocations: 0 / 0.9156 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003077/0.2503, allocations: 79.92 kB / 0.9156 GB, free: 47.79 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.001311/0.2517, allocations: 1.06 MB / 0.9167 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2527, allocations: 386.3 kB / 0.9171 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2527, allocations: 0 / 0.9171 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.2532, allocations: 195.8 kB / 0.9172 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.2537, allocations: 30.27 kB / 0.9173 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.258, allocations: 3.147 MB / 0.9203 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2582, allocations: 0.7513 MB / 0.9211 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.2585, allocations: 45.33 kB / 0.9211 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2586, allocations: 75.39 kB / 0.9212 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2586, allocations: 0 / 0.9212 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2737, allocations: 5.219 MB / 0.9263 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2739, allocations: 242 kB / 0.9265 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.563, allocations: 0 / 0.9265 GB, free: 36.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)