Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.529/2.529, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001271/0.001271, allocations: 180.9 kB / 371 MB, free: 10.87 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.109/2.109, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009788/0.0009782, allocations: 90.97 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 12.75 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2106, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002406/0.213, allocations: 1.664 MB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00497/0.2181, allocations: 3.455 MB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2183, allocations: 3.938 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.2187, allocations: 39.75 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.2194, allocations: 99.41 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.22, allocations: 103.8 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000494/0.2206, allocations: 219.1 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2208, allocations: 36.58 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.2212, allocations: 95.61 kB / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2214, allocations: 95.59 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2215, allocations: 8 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.222, allocations: 99.84 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.2221, allocations: 39.81 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.2222, allocations: 57.58 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.2226, allocations: 187.6 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2226, allocations: 0 / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2226, allocations: 0 / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2227, allocations: 0 / 0.9845 GB, free: 22.05 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.002045/0.2247, allocations: 0.5762 MB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.2248, allocations: 12.03 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.2249, allocations: 46.48 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.225, allocations: 19.72 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.2258, allocations: 266.4 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2258, allocations: 8 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.2259, allocations: 11.95 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2269, allocations: 193.5 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.227, allocations: 4 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.2271, allocations: 4 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2271, allocations: 0 / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.2288, allocations: 231.8 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2306, allocations: 0.4888 MB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.2316, allocations: 146.5 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008784/0.2326, allocations: 128.8 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.2343, allocations: 0.5844 MB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.2344, allocations: 30.56 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.238e-06/0.2345, allocations: 0 / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.003044/0.2375, allocations: 421 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2376, allocations: 55.62 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.238, allocations: 238.7 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.2381, allocations: 25.7 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2382, allocations: 140 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.2383, allocations: 39.39 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.2383, allocations: 4 kB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2384, allocations: 330.8 kB / 0.9884 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/0.2394, allocations: 119.9 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.2403, allocations: 115.9 kB / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.2413, allocations: 111.9 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2413, allocations: 4 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002206/0.2435, allocations: 313 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.2436, allocations: 4 kB / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2437, allocations: 3.984 kB / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.2437, allocations: 0 / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.2446, allocations: 55.94 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2446, allocations: 4 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.2453, allocations: 31.97 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.2454, allocations: 11.98 kB / 0.9891 GB, free: 17 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 (11): * Single equations (assignments): 11 * 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.0002396/0.2456, allocations: 121.8 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2458, allocations: 31.67 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.248, allocations: 323.1 kB / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.248, allocations: 0 / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.2481, allocations: 4 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2481, allocations: 0 / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.2486, allocations: 281.3 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2487, allocations: 0 / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.2494, allocations: 55.94 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.2495, allocations: 7.953 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.2495, allocations: 4 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2495, allocations: 0 / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2495, allocations: 0 / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.2516, allocations: 395.1 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.2519, allocations: 112.8 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.252, allocations: 7.953 kB / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.2528, allocations: 39.95 kB / 0.9904 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.253, allocations: 15.92 kB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.2531, allocations: 15.98 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003295/0.2534, allocations: 166 kB / 0.9906 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.052e-06/0.2534, allocations: 0 / 0.9906 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009805/0.2544, allocations: 63.92 kB / 0.9907 GB, free: 15.29 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 (11): * Single equations (assignments): 11 * 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.003127/0.2576, allocations: 0.9512 MB / 0.9916 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.2598, allocations: 267.8 kB / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.2598, allocations: 0 / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.2609, allocations: 139.8 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.262, allocations: 32.36 kB / 0.992 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.2682, allocations: 1.493 MB / 0.9935 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.2685, allocations: 0.7353 MB / 0.9942 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004704/0.269, allocations: 36.84 kB / 0.9942 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2693, allocations: 67.39 kB / 0.9943 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.2693, allocations: 0 / 0.9943 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3008, allocations: 4.387 MB / 0.9986 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.3012, allocations: 219.8 kB / 0.9988 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/2.951, allocations: 0 / 0.9988 GB, free: 7.035 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)