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.861/1.861, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001221/0.001221, allocations: 185.1 kB / 371.8 MB, free: 10.29 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.851/1.851, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008903/0.0008903, allocations: 90.81 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004609, allocations: 24.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2473, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002302/0.2496, allocations: 1.731 MB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003502/0.2532, allocations: 3.339 MB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2533, allocations: 3.938 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.2536, allocations: 47.8 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.2539, allocations: 139.4 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2542, allocations: 115.7 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2544, allocations: 191.6 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2546, allocations: 52.89 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.2548, allocations: 111.6 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2549, allocations: 135.4 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.255, allocations: 8 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2552, allocations: 107.8 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.2552, allocations: 43.81 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.2553, allocations: 65.58 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.2555, allocations: 227.4 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2555, allocations: 0 / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2555, allocations: 0 / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2555, allocations: 0 / 0.9856 GB, free: 21.3 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.001123/0.2567, allocations: 0.6231 MB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2567, allocations: 8.031 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.2568, allocations: 42.55 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.2576, allocations: 159.4 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.2583, allocations: 331.2 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2583, allocations: 8.188 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.2584, allocations: 15.94 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.259, allocations: 253.4 kB / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2591, allocations: 0 / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2591, allocations: 0 / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2591, allocations: 4 kB / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009228/0.26, allocations: 344.2 kB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2612, allocations: 0.5982 MB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.2617, allocations: 202.4 kB / 0.9881 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.2625, allocations: 0.5728 MB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2626, allocations: 38.55 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2626, allocations: 0 / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001595/0.2642, allocations: 0.5651 MB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2642, allocations: 55.41 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2644, allocations: 260.6 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2645, allocations: 25.7 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.2645, allocations: 155.9 kB / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2646, allocations: 43.45 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.2646, allocations: 4 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.2647, allocations: 338.8 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.2652, allocations: 175.9 kB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.2657, allocations: 177.5 kB / 0.9904 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.2662, allocations: 179.8 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2662, allocations: 4 kB / 0.9906 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001028/0.2672, allocations: 430.5 kB / 0.991 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2673, allocations: 7.984 kB / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2673, allocations: 0 / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2673, allocations: 0 / 0.991 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.2677, allocations: 79.92 kB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.2677, allocations: 4 kB / 0.9911 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.2681, allocations: 59.8 kB / 0.9912 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.2681, allocations: 7.984 kB / 0.9912 GB, free: 15.26 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.0001264/0.2682, allocations: 141.7 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.2683, allocations: 23.72 kB / 0.9913 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.2694, allocations: 431.6 kB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2695, allocations: 8 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2695, allocations: 0 / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2695, allocations: 0 / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.2698, allocations: 317.2 kB / 0.9921 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2698, allocations: 0 / 0.9921 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.2702, allocations: 79.86 kB / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2702, allocations: 0 / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2702, allocations: 7.984 kB / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2702, allocations: 0 / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2702, allocations: 4 kB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2713, allocations: 0.4924 MB / 0.9926 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2714, allocations: 116.7 kB / 0.9927 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.2714, allocations: 11.98 kB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.2718, allocations: 51.95 kB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.2718, allocations: 19.91 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2719, allocations: 8 kB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001328/0.272, allocations: 187.1 kB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.272, allocations: 4 kB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003486/0.2724, allocations: 64 kB / 0.9931 GB, free: 13.22 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.001335/0.2737, allocations: 1.07 MB / 0.9941 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.2747, allocations: 380.9 kB / 0.9945 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2748, allocations: 4 kB / 0.9945 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.2752, allocations: 195.8 kB / 0.9947 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2756, allocations: 33.42 kB / 0.9947 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2768, allocations: 0.8521 MB / 0.9955 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.277, allocations: 0.7551 MB / 0.9963 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.2773, allocations: 53.36 kB / 0.9963 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2774, allocations: 75.41 kB / 0.9964 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2774, allocations: 0 / 0.9964 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.2941, allocations: 5.163 MB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.2943, allocations: 214.9 kB / 1.002 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.197, allocations: 0 / 1.002 GB, free: 4.52 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)