Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.837/1.837, allocations: 288.4 MB / 303.3 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 177.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008948/0.000895, allocations: 96.72 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004347, allocations: 11.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002321/0.2253, allocations: 1.777 MB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2295, allocations: 3.545 MB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2298, allocations: 0 / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.2302, allocations: 43.73 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.2307, allocations: 115.3 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2311, allocations: 119.7 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.2316, allocations: 266.9 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2317, allocations: 44.91 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.2321, allocations: 111.6 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2324, allocations: 131.4 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.2325, allocations: 12 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.2328, allocations: 115.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.2329, allocations: 51.75 kB / 0.9858 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.233, allocations: 61.58 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.2333, allocations: 223.4 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2333, allocations: 0 / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2333, allocations: 0 / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2334, allocations: 0 / 0.9861 GB, free: 20.94 MB / 0.6198 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.001185/0.2345, allocations: 0.6244 MB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2346, allocations: 12.03 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.2347, allocations: 46.55 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.2356, allocations: 163.4 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.2363, allocations: 327.1 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2363, allocations: 4.188 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2364, allocations: 12 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.237, allocations: 255 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2371, allocations: 0 / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.2371, allocations: 4 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2371, allocations: 0 / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.2381, allocations: 348.2 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2394, allocations: 0.5905 MB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.2399, allocations: 202.4 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.2405, allocations: 185 kB / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/0.2413, allocations: 0.5767 MB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2413, allocations: 38.56 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.2414, allocations: 0 / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001652/0.243, allocations: 0.5615 MB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.2431, allocations: 55.34 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.2433, allocations: 264.5 kB / 0.9902 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2433, allocations: 29.7 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.2434, allocations: 155.9 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2434, allocations: 31.47 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.2435, allocations: 4 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.2435, allocations: 346.8 kB / 0.9907 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.2441, allocations: 175.8 kB / 0.9909 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.2446, allocations: 179.9 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2451, allocations: 173.4 kB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2451, allocations: 3.938 kB / 0.9913 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001111/0.2462, allocations: 429 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2462, allocations: 5.094 kB / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2463, allocations: 4 kB / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2463, allocations: 0 / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.2467, allocations: 87.84 kB / 0.9918 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2468, allocations: 0 / 0.9918 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.2471, allocations: 63.8 kB / 0.9918 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2471, allocations: 11.98 kB / 0.9918 GB, free: 14.71 MB / 0.6198 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.0001254/0.2473, allocations: 131.3 kB / 0.992 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.2473, allocations: 23.72 kB / 0.992 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2486, allocations: 447.2 kB / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2486, allocations: 0 / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2486, allocations: 0 / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2486, allocations: 0 / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2489, allocations: 309.3 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2489, allocations: 3.938 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.2493, allocations: 79.91 kB / 0.9928 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2493, allocations: 3.984 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2493, allocations: 8 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2493, allocations: 3.938 kB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2493, allocations: 0 / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2504, allocations: 0.499 MB / 0.9933 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.2505, allocations: 120.7 kB / 0.9934 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2506, allocations: 4 kB / 0.9934 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.2509, allocations: 51.94 kB / 0.9935 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.251, allocations: 19.97 kB / 0.9935 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.251, allocations: 4 kB / 0.9935 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2512, allocations: 183.1 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2512, allocations: 0 / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003375/0.2515, allocations: 71.92 kB / 0.9937 GB, free: 12.67 MB / 0.6198 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.001413/0.2529, allocations: 1.077 MB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.254, allocations: 379.7 kB / 0.9951 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.254, allocations: 0 / 0.9951 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2546, allocations: 193.9 kB / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.255, allocations: 28.64 kB / 0.9953 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.2584, allocations: 1.857 MB / 0.9972 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.2586, allocations: 0.7551 MB / 0.9979 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.2589, allocations: 49.36 kB / 0.9979 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.259, allocations: 75.41 kB / 0.998 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.2591, allocations: 0 / 0.998 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.276, allocations: 5.226 MB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.2763, allocations: 227.1 kB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.455, allocations: 4 kB / 1.003 GB, free: 2.91 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)