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.00137/0.00137, 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.001872/0.001872, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.523 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002492/0.002492, allocations: 67.72 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2866, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004133/0.2908, allocations: 1.927 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.2961, allocations: 3.446 MB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.2962, allocations: 4 kB / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.2965, allocations: 55.62 kB / 0.7889 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.2971, allocations: 127.2 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.691e-05/0.2972, allocations: 27.95 kB / 0.7891 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.2975, allocations: 175.2 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2976, allocations: 29.69 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.2979, allocations: 83.62 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2981, allocations: 99.53 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2981, allocations: 8 kB / 0.7895 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2983, allocations: 23.98 kB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2984, allocations: 43.78 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.2985, allocations: 71.55 kB / 0.7896 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.2988, allocations: 175.3 kB / 0.7898 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2988, allocations: 0 / 0.7898 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2988, allocations: 0 / 0.7898 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2988, allocations: 0 / 0.7898 GB, free: 6.926 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.001113/0.2999, allocations: 0.5022 MB / 0.7902 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3, allocations: 12.03 kB / 0.7903 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.3, allocations: 46.66 kB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.3001, allocations: 16.75 kB / 0.7903 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3006, allocations: 246.9 kB / 0.7906 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3006, allocations: 4.375 kB / 0.7906 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3006, allocations: 8.375 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.3011, allocations: 137.5 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3011, allocations: 3.938 kB / 0.7907 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3012, allocations: 4 kB / 0.7907 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.3012, allocations: 8 kB / 0.7907 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.3019, allocations: 151.8 kB / 0.7909 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.3027, allocations: 448.5 kB / 0.7913 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.3031, allocations: 182.3 kB / 0.7915 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.3034, allocations: 104.8 kB / 0.7916 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3034, allocations: 0 / 0.7916 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3035, allocations: 34.56 kB / 0.7916 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.3035, allocations: 0 / 0.7916 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000771/0.3042, allocations: 293 kB / 0.7919 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3043, allocations: 59.39 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3045, allocations: 221 kB / 0.7921 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3045, allocations: 25.7 kB / 0.7922 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.3046, allocations: 124 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.3046, allocations: 39.44 kB / 0.7923 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.3047, allocations: 33.7 kB / 0.7923 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3048, allocations: 334.8 kB / 0.7927 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.305, allocations: 71.94 kB / 0.7927 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3052, allocations: 79.88 kB / 0.7928 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.3056, allocations: 160.7 kB / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3057, allocations: 0 / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005015/0.3062, allocations: 225.3 kB / 0.7932 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3062, allocations: 4 kB / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3062, allocations: 0 / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3062, allocations: 0 / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3064, allocations: 35.91 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3065, allocations: 4 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3066, allocations: 23.91 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3067, allocations: 11.92 kB / 0.7933 GB, free: 3.105 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 9.652e-05/0.3068, allocations: 130.5 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3068, allocations: 23.72 kB / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.3069, allocations: 21.84 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3069, allocations: 0 / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3069, allocations: 7.984 kB / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3069, allocations: 3.984 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3072, allocations: 261.5 kB / 0.7937 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3072, allocations: 0 / 0.7937 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3074, allocations: 39.91 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3074, allocations: 4 kB / 0.7937 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3074, allocations: 3.984 kB / 0.7937 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3074, allocations: 3.938 kB / 0.7937 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3074, allocations: 0 / 0.7937 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.308, allocations: 324.2 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.3081, allocations: 112.8 kB / 0.7942 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3081, allocations: 0 / 0.7942 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3083, allocations: 19.98 kB / 0.7942 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3083, allocations: 11.92 kB / 0.7942 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3084, allocations: 11.98 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001201/0.3085, allocations: 156.4 kB / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3085, allocations: 0 / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002535/0.3087, allocations: 36 kB / 0.7944 GB, free: 1.863 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.0008494/0.3096, allocations: 0.8546 MB / 0.7952 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.3101, allocations: 183.8 kB / 0.7954 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3101, allocations: 0 / 0.7954 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.3104, allocations: 95.86 kB / 0.7955 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.3108, allocations: 40.16 kB / 0.7955 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3138, allocations: 2.308 MB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3141, allocations: 0.7275 MB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000152/0.3142, allocations: 48.59 kB / 0.7985 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.3143, allocations: 51.42 kB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.3143, allocations: 0 / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3332, allocations: 3.878 MB / 0.8024 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.553, allocations: 12.41 kB / 0.8024 GB, free: 9.707 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)