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.001062/0.001069, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.896/1.896, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000524/0.0005241, allocations: 14.81 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2898, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002396/0.2922, allocations: 1.586 MB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.2967, allocations: 3.229 MB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.2968, allocations: 0 / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.2971, allocations: 39.75 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.2975, allocations: 123.4 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.717e-05/0.2976, allocations: 15.98 kB / 0.7923 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2978, allocations: 175.2 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2979, allocations: 21.67 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2981, allocations: 71.7 kB / 0.7925 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2983, allocations: 83.61 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.2983, allocations: 4 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.2984, allocations: 19.98 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.2985, allocations: 35.83 kB / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.2985, allocations: 53.58 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2987, allocations: 119.7 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2987, allocations: 0 / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2987, allocations: 0 / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2987, allocations: 0 / 0.7928 GB, free: 6.254 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.0008338/0.2996, allocations: 0.4905 MB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2996, allocations: 8.031 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.2997, allocations: 46.55 kB / 0.7934 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.2997, allocations: 23.77 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3001, allocations: 237.7 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3001, allocations: 4 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3001, allocations: 7.984 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.3005, allocations: 153.5 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3005, allocations: 0 / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3005, allocations: 0 / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.3006, allocations: 8 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.301, allocations: 167.8 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.3017, allocations: 460.5 kB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.3021, allocations: 174.5 kB / 0.7945 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.3024, allocations: 116.8 kB / 0.7947 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3024, allocations: 0 / 0.7947 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3024, allocations: 38.52 kB / 0.7947 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3024, allocations: 0 / 0.7947 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007882/0.3032, allocations: 317.7 kB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3033, allocations: 59.39 kB / 0.7951 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3035, allocations: 209 kB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3035, allocations: 29.7 kB / 0.7953 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.3036, allocations: 128 kB / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3037, allocations: 43.39 kB / 0.7954 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.3037, allocations: 4 kB / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3038, allocations: 330.8 kB / 0.7958 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3041, allocations: 87.88 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3043, allocations: 79.94 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3045, allocations: 90.56 kB / 0.796 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3045, allocations: 0 / 0.796 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005134/0.305, allocations: 237.2 kB / 0.7962 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.305, allocations: 4 kB / 0.7962 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3051, allocations: 3.953 kB / 0.7962 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3051, allocations: 4 kB / 0.7962 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3053, allocations: 47.95 kB / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3053, allocations: 0 / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3055, allocations: 15.98 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3055, allocations: 4 kB / 0.7963 GB, free: 2.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.3056, allocations: 126.5 kB / 0.7964 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.3057, allocations: 23.66 kB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.3058, allocations: 33.83 kB / 0.7965 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3058, allocations: 7.953 kB / 0.7965 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3058, allocations: 0 / 0.7965 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3058, allocations: 0 / 0.7965 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3061, allocations: 261.5 kB / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3061, allocations: 0 / 0.7967 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.3063, allocations: 39.95 kB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3063, allocations: 0 / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3064, allocations: 4 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3064, allocations: 4 kB / 0.7968 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3064, allocations: 7.953 kB / 0.7968 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.3069, allocations: 335.1 kB / 0.7971 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.3071, allocations: 116.9 kB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3071, allocations: 0 / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3073, allocations: 19.98 kB / 0.7972 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.3073, allocations: 19.92 kB / 0.7973 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3074, allocations: 4 kB / 0.7973 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001339/0.3075, allocations: 160.5 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002719/0.3078, allocations: 36 kB / 0.7975 GB, free: 1.195 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 (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.0009235/0.3087, allocations: 0.8709 MB / 0.7983 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.3093, allocations: 187.8 kB / 0.7985 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3093, allocations: 3.938 kB / 0.7985 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3096, allocations: 103.9 kB / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.31, allocations: 30.89 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3124, allocations: 1.327 MB / 0.7999 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3128, allocations: 0.735 MB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.313, allocations: 56.58 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3131, allocations: 47.42 kB / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3131, allocations: 0 / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.3295, allocations: 3.509 MB / 0.8042 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.3298, allocations: 212.4 kB / 0.8044 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.21, allocations: 0 / 0.8044 GB, free: 10.2 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/linux/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) Environment - environmentSimulation: