Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001507/0.001508, allocations: 109.4 kB / 15.69 MB, free: 128 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.001816/0.001816, allocations: 185.9 kB / 16.62 MB, free: 6.613 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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.606/1.606, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001517/0.001517, allocations: 70.33 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2127, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003022/0.2158, allocations: 1.912 MB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.2195, allocations: 3.438 MB / 0.7889 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2196, allocations: 3.938 kB / 0.7889 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.2199, allocations: 59.67 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.2203, allocations: 119.3 kB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.131e-05/0.2204, allocations: 31.89 kB / 0.7891 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.2206, allocations: 163.2 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2208, allocations: 37.66 kB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.2209, allocations: 83.62 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2211, allocations: 75.62 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.2211, allocations: 8 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.2212, allocations: 31.92 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.2213, allocations: 39.83 kB / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.2214, allocations: 75.55 kB / 0.7895 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.2216, allocations: 167.3 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2216, allocations: 0 / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2216, allocations: 3.938 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2216, allocations: 0 / 0.7897 GB, free: 6.977 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.0008568/0.2225, allocations: 0.4944 MB / 0.7902 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2225, allocations: 16.03 kB / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2226, allocations: 42.67 kB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.2226, allocations: 16.75 kB / 0.7903 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.223, allocations: 246.8 kB / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.223, allocations: 384 / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.223, allocations: 8.375 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.2234, allocations: 141.4 kB / 0.7906 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2234, allocations: 4 kB / 0.7906 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2234, allocations: 7.984 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.2235, allocations: 8 kB / 0.7907 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.2239, allocations: 135.9 kB / 0.7908 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.2246, allocations: 432.6 kB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.225, allocations: 166.4 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2252, allocations: 108.8 kB / 0.7915 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2252, allocations: 0 / 0.7915 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2253, allocations: 30.56 kB / 0.7915 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.2253, allocations: 0 / 0.7915 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007477/0.226, allocations: 288.4 kB / 0.7918 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2261, allocations: 59.34 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2262, allocations: 205 kB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2263, allocations: 29.7 kB / 0.7921 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.2263, allocations: 124 kB / 0.7922 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.2264, allocations: 43.36 kB / 0.7922 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.2264, allocations: 33.7 kB / 0.7922 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2266, allocations: 330.8 kB / 0.7926 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2268, allocations: 71.94 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.227, allocations: 63.94 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.2274, allocations: 168.1 kB / 0.7928 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2274, allocations: 3.938 kB / 0.7929 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004921/0.2279, allocations: 213.3 kB / 0.7931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.228, allocations: 7.984 kB / 0.7931 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.228, allocations: 4 kB / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.228, allocations: 0 / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.2282, allocations: 31.97 kB / 0.7931 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2282, allocations: 3.984 kB / 0.7931 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2284, allocations: 19.89 kB / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2284, allocations: 11.92 kB / 0.7931 GB, free: 3.242 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.0001084/0.2285, allocations: 129.8 kB / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.2286, allocations: 15.81 kB / 0.7933 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.2286, allocations: 25.83 kB / 0.7933 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.2286, allocations: 4 kB / 0.7933 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2287, allocations: 3.938 kB / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2287, allocations: 0 / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.229, allocations: 261.4 kB / 0.7936 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.229, allocations: 0 / 0.7936 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.2292, allocations: 39.97 kB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2292, allocations: 4 kB / 0.7936 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2292, allocations: 3.984 kB / 0.7936 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2292, allocations: 0 / 0.7936 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2292, allocations: 0 / 0.7936 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.2298, allocations: 311.1 kB / 0.7939 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.2299, allocations: 108.8 kB / 0.794 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2299, allocations: 3.984 kB / 0.794 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.2301, allocations: 15.98 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.2301, allocations: 7.984 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2301, allocations: 8 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001179/0.2303, allocations: 160.4 kB / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2303, allocations: 4 kB / 0.7942 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002729/0.2306, allocations: 39.94 kB / 0.7942 GB, free: 2.023 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.0008742/0.2314, allocations: 0.8411 MB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.232, allocations: 167 kB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.232, allocations: 0 / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2322, allocations: 95.86 kB / 0.7953 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.2326, allocations: 31.03 kB / 0.7953 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.2355, allocations: 2.249 MB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2359, allocations: 0.7313 MB / 0.7982 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.2361, allocations: 48.39 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.2361, allocations: 55.41 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.2362, allocations: 0 / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2549, allocations: 3.72 MB / 0.802 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.368, allocations: 8.531 kB / 0.802 GB, free: 10.11 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)