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.7/1.7, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001028/0.001028, allocations: 180.5 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.806/1.806, allocations: 205.4 MB / 0.6307 GB, free: 9.887 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.0008321/0.0008326, allocations: 82.3 kB / 0.744 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 11.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001984/0.2627, allocations: 1.574 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2659, allocations: 3.225 MB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.266, allocations: 0 / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.2662, allocations: 47.75 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.2666, allocations: 115.4 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.2667, allocations: 19.98 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2668, allocations: 159.3 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.267, allocations: 29.61 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2671, allocations: 71.69 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2673, allocations: 63.7 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.2673, allocations: 4 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.2674, allocations: 23.92 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.2674, allocations: 39.89 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2675, allocations: 53.58 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2676, allocations: 103.8 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2676, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2676, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2677, allocations: 0 / 0.985 GB, free: 22.02 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.0007811/0.2684, allocations: 0.4944 MB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2685, allocations: 12.03 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.2685, allocations: 34.56 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.2686, allocations: 19.77 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.2689, allocations: 241.6 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2689, allocations: 7.938 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.269, allocations: 11.98 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2693, allocations: 139.5 kB / 0.986 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2693, allocations: 0 / 0.986 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2693, allocations: 4 kB / 0.986 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.2694, allocations: 12 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.2698, allocations: 159.8 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.2704, allocations: 452.5 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2708, allocations: 178.5 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.271, allocations: 104.8 kB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.271, allocations: 8 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2711, allocations: 38.45 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2711, allocations: 0 / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007593/0.2718, allocations: 305.7 kB / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.2719, allocations: 51.41 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.272, allocations: 209 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2721, allocations: 25.7 kB / 0.9874 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.2721, allocations: 128 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2722, allocations: 39.39 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.2722, allocations: 12 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.2722, allocations: 326.8 kB / 0.9879 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2725, allocations: 71.94 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.2727, allocations: 82.06 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.2729, allocations: 87.88 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2729, allocations: 0 / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004535/0.2733, allocations: 229.3 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2734, allocations: 8 kB / 0.9884 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2734, allocations: 7.891 kB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2734, allocations: 0 / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2736, allocations: 35.97 kB / 0.9884 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2737, allocations: 0 / 0.9884 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2738, allocations: 27.97 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2738, allocations: 4 kB / 0.9885 GB, free: 18.29 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.799e-05/0.2739, allocations: 129.8 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.274, allocations: 19.72 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.274, allocations: 21.84 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.274, allocations: 7.953 kB / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.274, allocations: 3.984 kB / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.274, allocations: 0 / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2743, allocations: 253.5 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2743, allocations: 4 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2745, allocations: 43.95 kB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2745, allocations: 7.938 kB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2745, allocations: 0 / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2745, allocations: 0 / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2745, allocations: 3.953 kB / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.275, allocations: 329.3 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.2751, allocations: 108.8 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.2751, allocations: 4 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2753, allocations: 15.98 kB / 0.9894 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.2754, allocations: 15.94 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2754, allocations: 7.984 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.791e-05/0.2755, allocations: 152.5 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 4 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002396/0.2757, allocations: 28 kB / 0.9896 GB, free: 17.06 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.000748/0.2765, allocations: 0.8645 MB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.277, allocations: 184.9 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.277, allocations: 3.938 kB / 0.9906 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.2772, allocations: 91.94 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2776, allocations: 24.66 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2795, allocations: 1.28 MB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2797, allocations: 0.7352 MB / 0.9927 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.2798, allocations: 48.59 kB / 0.9927 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.2799, allocations: 51.41 kB / 0.9928 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2799, allocations: 0 / 0.9928 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.296, allocations: 3.38 MB / 0.9961 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.2964, allocations: 213.6 kB / 0.9963 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.208, allocations: 0 / 0.9963 GB, free: 10.27 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)