Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.755/2.755, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001299/0.001298, allocations: 175.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009632/0.0009627, allocations: 96.72 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005003, allocations: 12.41 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002517/0.2232, allocations: 1.781 MB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2284, allocations: 3.533 MB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.2287, allocations: 0 / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.229, allocations: 43.73 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.2295, allocations: 115.3 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.2301, allocations: 119.7 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.2305, allocations: 270.9 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.2307, allocations: 48.91 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.231, allocations: 111.6 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.2312, allocations: 131.4 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.2313, allocations: 12 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.2317, allocations: 111.8 kB / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.2318, allocations: 51.75 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.2319, allocations: 61.58 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2323, allocations: 227.4 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2324, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2324, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2324, allocations: 0 / 0.9849 GB, free: 21.65 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.001745/0.2342, allocations: 0.6269 MB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.2342, allocations: 16.02 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.136e-05/0.2343, allocations: 38.56 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2358, allocations: 159.5 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2369, allocations: 327.1 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.237, allocations: 8.188 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.237, allocations: 12 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.2382, allocations: 255 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2382, allocations: 0 / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.2383, allocations: 0 / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2383, allocations: 3.953 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.2401, allocations: 344.2 kB / 0.9866 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2421, allocations: 0.5944 MB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.2432, allocations: 198.4 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.2441, allocations: 185 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.2454, allocations: 0.5806 MB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2455, allocations: 34.56 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.386e-06/0.2455, allocations: 0 / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00303/0.2485, allocations: 0.5596 MB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2486, allocations: 59.34 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2489, allocations: 264.5 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.249, allocations: 29.7 kB / 0.989 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.2491, allocations: 148 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.2491, allocations: 43.45 kB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.2492, allocations: 0 / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.2493, allocations: 342.8 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.2502, allocations: 179.8 kB / 0.9897 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.2511, allocations: 178.1 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009858/0.2521, allocations: 179.8 kB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2522, allocations: 0 / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002082/0.2543, allocations: 426.8 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.2543, allocations: 4 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2543, allocations: 7.922 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2544, allocations: 4 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.2552, allocations: 87.86 kB / 0.9906 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.2552, allocations: 3.984 kB / 0.9906 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.2559, allocations: 63.8 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2559, allocations: 7.984 kB / 0.9906 GB, free: 15.42 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.0001769/0.2561, allocations: 133.8 kB / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.2562, allocations: 27.7 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.2583, allocations: 444.2 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2584, allocations: 0 / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2584, allocations: 0 / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2584, allocations: 0 / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.2588, allocations: 313.2 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2589, allocations: 0 / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.2596, allocations: 75.92 kB / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.2597, allocations: 0 / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.2597, allocations: 8 kB / 0.9916 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.2597, allocations: 11.92 kB / 0.9916 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2597, allocations: 0 / 0.9916 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.2618, allocations: 0.4923 MB / 0.9921 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.2619, allocations: 124.7 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.262, allocations: 3.984 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.2626, allocations: 51.95 kB / 0.9923 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.2628, allocations: 15.97 kB / 0.9923 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.2628, allocations: 8 kB / 0.9923 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002107/0.263, allocations: 187.1 kB / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.263, allocations: 0 / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004853/0.2635, allocations: 63.94 kB / 0.9925 GB, free: 13.39 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.002547/0.2661, allocations: 1.076 MB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.2682, allocations: 379.7 kB / 0.9939 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2683, allocations: 0 / 0.9939 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.2692, allocations: 196.8 kB / 0.9941 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.2699, allocations: 36.56 kB / 0.9942 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.2756, allocations: 1.846 MB / 0.996 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2759, allocations: 0.7552 MB / 0.9967 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004614/0.2763, allocations: 45.38 kB / 0.9967 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.2766, allocations: 79.39 kB / 0.9968 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.2766, allocations: 0 / 0.9968 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.3125, allocations: 5.225 MB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.3128, allocations: 213.7 kB / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.012, allocations: 0 / 1.002 GB, free: 3.625 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)