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.613/2.613, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001823/0.001823, allocations: 177.4 kB / 370.8 MB, free: 10.88 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.182/2.182, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001146/0.001146, allocations: 105.5 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004976, allocations: 12.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2647, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002369/0.2672, allocations: 1.636 MB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.272, allocations: 3.245 MB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2723, allocations: 4 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.2725, allocations: 35.81 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.2729, allocations: 115.6 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.2734, allocations: 107.7 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.2737, allocations: 155.7 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2739, allocations: 40.55 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.2741, allocations: 99.61 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2743, allocations: 95.59 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.2744, allocations: 8 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.2746, allocations: 99.83 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.2747, allocations: 39.83 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2748, allocations: 57.58 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.2751, allocations: 183.6 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2751, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2751, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2751, allocations: 0 / 0.9841 GB, free: 22.36 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.001554/0.2767, allocations: 0.5762 MB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2767, allocations: 8.031 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.2768, allocations: 50.5 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.2769, allocations: 19.72 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.2774, allocations: 262.5 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2775, allocations: 4 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.2775, allocations: 11.94 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.2783, allocations: 197.4 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2783, allocations: 0 / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.2784, allocations: 8 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2784, allocations: 0 / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2796, allocations: 237.7 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2809, allocations: 496.5 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.2816, allocations: 146.4 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.2828, allocations: 0.5767 MB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2829, allocations: 34.56 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/0.2829, allocations: 0 / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002102/0.285, allocations: 425.2 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2851, allocations: 55.41 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2853, allocations: 222.7 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2854, allocations: 33.7 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.2855, allocations: 140 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.2855, allocations: 35.45 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.2856, allocations: 4 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.2856, allocations: 334.8 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.2863, allocations: 111.9 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.2869, allocations: 120.3 kB / 0.988 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.2876, allocations: 124.1 kB / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2876, allocations: 0 / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001387/0.289, allocations: 305.1 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.289, allocations: 4 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.289, allocations: 0 / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2891, allocations: 3.938 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.2896, allocations: 55.95 kB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2896, allocations: 0 / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.2901, allocations: 39.95 kB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.2901, allocations: 4 kB / 0.9885 GB, free: 17.46 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.0001547/0.2903, allocations: 129.8 kB / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.2904, allocations: 27.67 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2919, allocations: 315.1 kB / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2919, allocations: 15.92 kB / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2919, allocations: 0 / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2919, allocations: 0 / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.2923, allocations: 277.4 kB / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2923, allocations: 0 / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.2928, allocations: 55.94 kB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2928, allocations: 4 kB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2929, allocations: 7.938 kB / 0.9893 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2929, allocations: 3.938 kB / 0.9893 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2929, allocations: 0 / 0.9893 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2942, allocations: 395.1 kB / 0.9897 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2944, allocations: 120.7 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.2944, allocations: 4 kB / 0.9898 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.2949, allocations: 43.92 kB / 0.9899 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.295, allocations: 11.97 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.295, allocations: 8 kB / 0.9899 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001657/0.2952, allocations: 166 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2952, allocations: 0 / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004512/0.2957, allocations: 59.94 kB / 0.9901 GB, free: 15.75 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.001722/0.2974, allocations: 0.9619 MB / 0.991 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.2988, allocations: 255.8 kB / 0.9913 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2988, allocations: 0 / 0.9913 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.2995, allocations: 144.5 kB / 0.9914 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.3001, allocations: 32.36 kB / 0.9914 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.3041, allocations: 1.483 MB / 0.9929 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3044, allocations: 0.7392 MB / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.3047, allocations: 36.84 kB / 0.9936 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.3049, allocations: 63.41 kB / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.3049, allocations: 0 / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.3379, allocations: 4.36 MB / 0.998 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.3383, allocations: 205.8 kB / 0.9982 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/2.82, allocations: 0 / 0.9982 GB, free: 7.531 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)