Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.745/1.745, allocations: 288.2 MB / 303.2 MB, free: 8.051 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.001488/0.001489, allocations: 185 kB / 371.8 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.881/1.881, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009057/0.0009056, allocations: 85.86 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005606/0.0005611, allocations: 15.42 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2563, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001793/0.2582, allocations: 1.532 MB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2609, allocations: 3.035 MB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.261, allocations: 0 / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2612, allocations: 39.75 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.2616, allocations: 127.6 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.869e-05/0.2617, allocations: 19.97 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.2618, allocations: 111.7 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2619, allocations: 29.66 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2621, allocations: 71.69 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2622, allocations: 59.7 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2622, allocations: 7.938 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.2623, allocations: 23.97 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.2624, allocations: 31.84 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2624, allocations: 53.64 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2626, allocations: 107.7 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2626, allocations: 0 / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2626, allocations: 0 / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2626, allocations: 0 / 0.9846 GB, free: 22.34 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007551/0.2633, allocations: 0.4983 MB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2634, allocations: 8.031 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.2634, allocations: 42.55 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2635, allocations: 19.77 kB / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.2638, allocations: 225.8 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2638, allocations: 12 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.2638, allocations: 0 / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.2642, allocations: 151.3 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2642, allocations: 0 / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2642, allocations: 4 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.2642, allocations: 15.98 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.2646, allocations: 155.8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.2652, allocations: 440.5 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.2656, allocations: 178.4 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2656, allocations: 3.984 kB / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2657, allocations: 38.56 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2657, allocations: 0 / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007306/0.2664, allocations: 305.7 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2664, allocations: 55.41 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2666, allocations: 205 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2666, allocations: 33.7 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.2667, allocations: 124.1 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2667, allocations: 39.36 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.2667, allocations: 4 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.2668, allocations: 326.8 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.267, allocations: 79.94 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.2672, allocations: 78.06 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2674, allocations: 87.94 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2674, allocations: 0 / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004504/0.2679, allocations: 225.3 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2679, allocations: 4 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2679, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2679, allocations: 3.953 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2682, allocations: 43.91 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2682, allocations: 11.94 kB / 0.9879 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2683, allocations: 23.91 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2683, allocations: 0 / 0.9879 GB, free: 18.74 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 (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 prepare postOptimizeDAE: time 8.62e-05/0.2684, allocations: 125.8 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.2685, allocations: 19.81 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.2685, allocations: 25.84 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2685, allocations: 11.89 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2686, allocations: 0 / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2686, allocations: 3.984 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2688, allocations: 257.5 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2688, allocations: 0 / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.269, allocations: 43.89 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.269, allocations: 0 / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.269, allocations: 0 / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.269, allocations: 4 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2691, allocations: 11.95 kB / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.2695, allocations: 316.1 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2696, allocations: 116.7 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2697, allocations: 7.984 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2699, allocations: 15.98 kB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2699, allocations: 11.98 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2699, allocations: 15.94 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.977e-05/0.27, allocations: 148.5 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.27, allocations: 0 / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002527/0.2703, allocations: 40 kB / 0.989 GB, free: 17.5 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.000706/0.271, allocations: 0.8552 MB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.2715, allocations: 187.8 kB / 0.99 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2715, allocations: 0 / 0.99 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.2717, allocations: 99.86 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.272, allocations: 20.66 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2738, allocations: 1.271 MB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.274, allocations: 0.7352 MB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.2742, allocations: 48.61 kB / 0.9922 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.2743, allocations: 51.41 kB / 0.9922 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.2743, allocations: 7.938 kB / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.2891, allocations: 3.353 MB / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.2893, allocations: 213.6 kB / 0.9957 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.959, allocations: 0 / 0.9957 GB, free: 10.72 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)