Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 196.1 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 222.5 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 69.78 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2067, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003109/0.2099, allocations: 1.916 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2138, allocations: 3.45 MB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.2139, allocations: 0 / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.2143, allocations: 59.61 kB / 0.7889 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.2147, allocations: 123.2 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.308e-05/0.2148, allocations: 23.95 kB / 0.7891 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2151, allocations: 183.2 kB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2152, allocations: 33.66 kB / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.2154, allocations: 83.7 kB / 0.7894 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.2155, allocations: 79.61 kB / 0.7894 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2156, allocations: 11.94 kB / 0.7894 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2156, allocations: 31.92 kB / 0.7895 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.2157, allocations: 35.84 kB / 0.7895 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.2158, allocations: 87.45 kB / 0.7896 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.216, allocations: 171.3 kB / 0.7898 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.216, allocations: 0 / 0.7898 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.216, allocations: 0 / 0.7898 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2161, allocations: 0 / 0.7898 GB, free: 6.988 MB / 0.6075 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.0008816/0.2169, allocations: 0.51 MB / 0.7903 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.217, allocations: 8.031 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.217, allocations: 38.75 kB / 0.7903 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2171, allocations: 16.75 kB / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2175, allocations: 250.8 kB / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2175, allocations: 4.375 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2175, allocations: 8.312 kB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.2179, allocations: 145.5 kB / 0.7907 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2179, allocations: 4 kB / 0.7907 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2179, allocations: 0 / 0.7907 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.218, allocations: 11.98 kB / 0.7907 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.2184, allocations: 147.8 kB / 0.7909 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.2191, allocations: 456.4 kB / 0.7913 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.2195, allocations: 170.5 kB / 0.7915 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.2198, allocations: 100.8 kB / 0.7916 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2198, allocations: 7.984 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2199, allocations: 42.48 kB / 0.7916 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.2199, allocations: 0 / 0.7916 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008566/0.2207, allocations: 292.7 kB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2208, allocations: 55.41 kB / 0.7919 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.221, allocations: 213 kB / 0.7921 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.221, allocations: 29.7 kB / 0.7922 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.2211, allocations: 120 kB / 0.7923 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.2212, allocations: 39.45 kB / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.2213, allocations: 29.7 kB / 0.7923 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2214, allocations: 334.8 kB / 0.7927 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.2217, allocations: 75.94 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2219, allocations: 71.94 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.2223, allocations: 172.7 kB / 0.793 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2223, allocations: 0 / 0.793 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005192/0.2229, allocations: 221 kB / 0.7932 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2229, allocations: 6.5 kB / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2229, allocations: 0 / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2229, allocations: 7.938 kB / 0.7932 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2232, allocations: 39.95 kB / 0.7932 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2232, allocations: 3.938 kB / 0.7932 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.2234, allocations: 19.92 kB / 0.7933 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2234, allocations: 11.88 kB / 0.7933 GB, free: 3.164 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2235, allocations: 126.5 kB / 0.7934 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.2235, allocations: 19.72 kB / 0.7934 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.2236, allocations: 29.83 kB / 0.7934 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2236, allocations: 4 kB / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2236, allocations: 0 / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2236, allocations: 0 / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2239, allocations: 265.5 kB / 0.7937 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2239, allocations: 0 / 0.7937 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2241, allocations: 35.95 kB / 0.7937 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2241, allocations: 0 / 0.7937 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2241, allocations: 0 / 0.7937 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2242, allocations: 7.938 kB / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2242, allocations: 4 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.2247, allocations: 319.1 kB / 0.794 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.2249, allocations: 108.8 kB / 0.7941 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.2249, allocations: 8 kB / 0.7942 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2251, allocations: 19.98 kB / 0.7942 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.2252, allocations: 15.97 kB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2252, allocations: 0 / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001343/0.2253, allocations: 160.4 kB / 0.7943 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2253, allocations: 0 / 0.7943 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002904/0.2256, allocations: 39.98 kB / 0.7944 GB, free: 1.93 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009422/0.2266, allocations: 0.8488 MB / 0.7952 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2271, allocations: 183.8 kB / 0.7954 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2271, allocations: 0 / 0.7954 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.2274, allocations: 91.92 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.2278, allocations: 39.72 kB / 0.7955 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2308, allocations: 2.319 MB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2311, allocations: 0.7353 MB / 0.7985 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.2312, allocations: 48.58 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.2314, allocations: 55.41 kB / 0.7986 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of SimCode: time 7.72e-07/0.2314, allocations: 0 / 0.7986 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.2504, allocations: 3.866 MB / 0.8024 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.655, allocations: 14.69 kB / 0.8024 GB, free: 9.766 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)