Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.54/2.54, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001384/0.001384, allocations: 173 kB / 371 MB, free: 10.86 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.211/2.211, 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.0009924/0.0009924, allocations: 90.45 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.0006501, allocations: 12.64 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2124, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002229/0.2147, allocations: 1.586 MB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.2191, allocations: 3.221 MB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.2193, allocations: 7.875 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.2196, allocations: 39.81 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.2202, allocations: 115.4 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.579e-05/0.2203, allocations: 23.97 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.2205, allocations: 167.2 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2207, allocations: 25.67 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2209, allocations: 71.69 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2211, allocations: 75.62 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.2212, allocations: 8 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2213, allocations: 27.91 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.2214, allocations: 31.91 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.2215, allocations: 53.58 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.2217, allocations: 107.7 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2217, allocations: 0 / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2217, allocations: 0 / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2217, allocations: 0 / 0.9839 GB, free: 22.66 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.001107/0.2228, allocations: 0.4984 MB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2229, allocations: 12.02 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.2229, allocations: 42.55 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.223, allocations: 19.77 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.2234, allocations: 245.7 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2235, allocations: 3.938 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.2235, allocations: 4 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.224, allocations: 149.5 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.224, allocations: 3.984 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2241, allocations: 8 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.2241, allocations: 11.95 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.2249, allocations: 155.9 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.2258, allocations: 464.5 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.2265, allocations: 182.5 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.227, allocations: 109.8 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.227, allocations: 7.953 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.227, allocations: 38.5 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.2271, allocations: 4 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001356/0.2284, allocations: 310.7 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2285, allocations: 59.41 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2287, allocations: 213 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2288, allocations: 25.7 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.2289, allocations: 124 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.2289, allocations: 47.38 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.2289, allocations: 4 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.2291, allocations: 330.8 kB / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.2295, allocations: 83.88 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.2299, allocations: 83.94 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.2303, allocations: 89.31 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2304, allocations: 3.938 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001307/0.2317, allocations: 237.3 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2318, allocations: 7.953 kB / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2318, allocations: 0 / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2318, allocations: 0 / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.2323, allocations: 35.97 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.2323, allocations: 4 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.2326, allocations: 31.91 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2326, allocations: 0 / 0.9874 GB, free: 18.85 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 0.0001341/0.2328, allocations: 129.8 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2328, allocations: 23.72 kB / 0.9875 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.2329, allocations: 25.8 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2329, allocations: 0 / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2329, allocations: 4 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.233, allocations: 7.984 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.2333, allocations: 261.5 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2334, allocations: 4 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.2338, allocations: 31.97 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2338, allocations: 4 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.2338, allocations: 7.984 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2338, allocations: 7.953 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2338, allocations: 4 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.2347, allocations: 333 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2349, allocations: 104.9 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.2349, allocations: 8 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.2353, allocations: 15.98 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2353, allocations: 15.94 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2354, allocations: 7.984 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001472/0.2355, allocations: 152.5 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2355, allocations: 0 / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003627/0.2359, allocations: 40 kB / 0.9885 GB, free: 17.6 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.001163/0.2371, allocations: 0.8688 MB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008582/0.238, allocations: 188.5 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.238, allocations: 4 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2384, allocations: 105 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2389, allocations: 34.55 kB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.242, allocations: 1.332 MB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.2422, allocations: 0.7313 MB / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002959/0.2425, allocations: 48.59 kB / 0.9917 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2427, allocations: 55.41 kB / 0.9918 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of SimCode: time 8.116e-06/0.2427, allocations: 0 / 0.9918 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2655, allocations: 3.517 MB / 0.9952 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.2658, allocations: 206.4 kB / 0.9954 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/2.871, allocations: 3.875 kB / 0.9954 GB, free: 10.58 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)