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.686/2.686, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001722/0.001721, allocations: 183 kB / 370.8 MB, free: 10.85 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.684/2.684, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001114/0.001114, allocations: 97.02 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.000504, allocations: 13.33 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2394, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002564/0.242, allocations: 1.742 MB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.2473, allocations: 3.331 MB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.2476, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.2478, allocations: 55.73 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.2484, allocations: 123.5 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.249, allocations: 123.7 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006765/0.2497, allocations: 195.5 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.25, allocations: 44.91 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.2505, allocations: 119.6 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2508, allocations: 127.5 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.2508, allocations: 8 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.2512, allocations: 107.8 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.2513, allocations: 51.73 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2514, allocations: 65.58 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2518, allocations: 215.5 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2518, allocations: 0 / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2518, allocations: 4 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2519, allocations: 0 / 0.9844 GB, free: 21.97 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.001861/0.2537, allocations: 0.627 MB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2538, allocations: 12.02 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.2539, allocations: 46.5 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.2554, allocations: 155.5 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.2571, allocations: 327.1 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.2572, allocations: 8.188 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.2573, allocations: 12 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2587, allocations: 251 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2587, allocations: 0 / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.2588, allocations: 4 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2588, allocations: 7.953 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.2607, allocations: 344.2 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.2629, allocations: 0.5944 MB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.2646, allocations: 202.4 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.266, allocations: 0.5728 MB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2661, allocations: 42.56 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.2661, allocations: 0 / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.003459/0.2696, allocations: 0.5527 MB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.2697, allocations: 63.34 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.27, allocations: 256.5 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.2701, allocations: 33.7 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2702, allocations: 155.8 kB / 0.9885 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.2703, allocations: 35.47 kB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.2703, allocations: 4 kB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2704, allocations: 342.8 kB / 0.9889 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.2714, allocations: 175.9 kB / 0.9891 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/0.2724, allocations: 175.8 kB / 0.9892 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.2734, allocations: 179.9 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2734, allocations: 0 / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002326/0.2758, allocations: 427.2 kB / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2759, allocations: 4 kB / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2759, allocations: 0 / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.2759, allocations: 0 / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2774, allocations: 95.84 kB / 0.9899 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.2774, allocations: 3.984 kB / 0.9899 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.2785, allocations: 59.8 kB / 0.99 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.2786, allocations: 11.98 kB / 0.99 GB, free: 15.93 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.0003044/0.2789, allocations: 129.8 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.2791, allocations: 23.72 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.283, allocations: 447.5 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.2831, allocations: 4 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.2831, allocations: 0 / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2831, allocations: 0 / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.2841, allocations: 309.3 kB / 0.9909 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2841, allocations: 0 / 0.9909 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.2855, allocations: 87.84 kB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.2856, allocations: 0 / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/0.2857, allocations: 0 / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.2857, allocations: 0 / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.2857, allocations: 4 kB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.2891, allocations: 0.5088 MB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.2894, allocations: 112.8 kB / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2896, allocations: 0 / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009202/0.2905, allocations: 59.94 kB / 0.9916 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2907, allocations: 15.97 kB / 0.9916 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2907, allocations: 4 kB / 0.9916 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002234/0.291, allocations: 183.1 kB / 0.9918 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.291, allocations: 0 / 0.9918 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005052/0.2915, allocations: 71.89 kB / 0.9919 GB, free: 13.9 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.00246/0.294, allocations: 1.071 MB / 0.9929 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.2961, allocations: 384.5 kB / 0.9933 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2961, allocations: 0 / 0.9933 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.2971, allocations: 191.9 kB / 0.9935 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.2977, allocations: 30.53 kB / 0.9935 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2997, allocations: 0.8566 MB / 0.9943 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2999, allocations: 0.759 MB / 0.9951 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.3004, allocations: 45.39 kB / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.3007, allocations: 75.39 kB / 0.9952 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/0.3007, allocations: 0 / 0.9952 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.3282, allocations: 5.169 MB / 1 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.3285, allocations: 208.8 kB / 1 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/2.973, allocations: 0 / 1 GB, free: 5.184 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)