Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.0009314/0.0009311, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001216/0.001216, allocations: 168.7 kB / 15.95 MB, free: 204 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.84/1.84, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.859/1.859, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005205/0.0005205, allocations: 17.5 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2931, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002717/0.2959, allocations: 1.668 MB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.3004, allocations: 3.443 MB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3007, allocations: 4 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3009, allocations: 43.75 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.3012, allocations: 95.41 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3016, allocations: 99.75 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.3019, allocations: 227.1 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3021, allocations: 32.58 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.3023, allocations: 91.61 kB / 0.793 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3025, allocations: 107.5 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3025, allocations: 8 kB / 0.7931 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.3027, allocations: 107.8 kB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.3028, allocations: 39.81 kB / 0.7932 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.3029, allocations: 53.58 kB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3031, allocations: 175.6 kB / 0.7934 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3031, allocations: 0 / 0.7934 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3031, allocations: 0 / 0.7934 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3031, allocations: 3.938 kB / 0.7934 GB, free: 5.609 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001098/0.3042, allocations: 0.5918 MB / 0.794 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3043, allocations: 8.031 kB / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.3044, allocations: 38.56 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.3044, allocations: 23.72 kB / 0.7941 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.3049, allocations: 270.4 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3049, allocations: 8 kB / 0.7943 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3049, allocations: 4 kB / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.3055, allocations: 193.5 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3055, allocations: 0 / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.3055, allocations: 4 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3055, allocations: 4 kB / 0.7945 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.3062, allocations: 235.8 kB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.307, allocations: 496.5 kB / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.3074, allocations: 142.6 kB / 0.7954 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.3078, allocations: 136.7 kB / 0.7955 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/0.3086, allocations: 0.5728 MB / 0.7961 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3086, allocations: 42.72 kB / 0.7961 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 3.146e-06/0.3086, allocations: 0 / 0.7961 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001143/0.3098, allocations: 421.1 kB / 0.7965 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3098, allocations: 51.41 kB / 0.7966 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3101, allocations: 230.7 kB / 0.7968 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3101, allocations: 25.7 kB / 0.7968 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3102, allocations: 144 kB / 0.7969 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.3102, allocations: 35.45 kB / 0.797 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.3103, allocations: 4 kB / 0.797 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3104, allocations: 334.8 kB / 0.7973 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.3107, allocations: 111.9 kB / 0.7974 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.311, allocations: 120.3 kB / 0.7975 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3114, allocations: 124.1 kB / 0.7976 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3114, allocations: 3.938 kB / 0.7976 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007112/0.3121, allocations: 301.2 kB / 0.7979 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3121, allocations: 8 kB / 0.7979 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3121, allocations: 0 / 0.7979 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3122, allocations: 0 / 0.7979 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3125, allocations: 55.95 kB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3125, allocations: 3.984 kB / 0.798 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3127, allocations: 35.97 kB / 0.798 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3127, allocations: 8 kB / 0.798 GB, free: 0.5625 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 (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.0001243/0.3128, allocations: 134.4 kB / 0.7982 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.3129, allocations: 23.67 kB / 0.7982 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.3137, allocations: 319.2 kB / 0.7985 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3137, allocations: 3.938 kB / 0.7985 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3138, allocations: 8 kB / 0.7985 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3138, allocations: 0 / 0.7985 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.3141, allocations: 277.4 kB / 0.7988 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3141, allocations: 4 kB / 0.7988 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.3144, allocations: 55.88 kB / 0.7988 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3144, allocations: 0 / 0.7988 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3144, allocations: 19.94 kB / 0.7988 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3144, allocations: 0 / 0.7988 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3145, allocations: 0 / 0.7988 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.3152, allocations: 391.1 kB / 0.7992 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.774e-05/0.3153, allocations: 112.8 kB / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3154, allocations: 0 / 0.7993 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3156, allocations: 43.92 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3157, allocations: 19.97 kB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3157, allocations: 0 / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001432/0.3158, allocations: 170 kB / 0.7995 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3158, allocations: 0 / 0.7995 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003272/0.3162, allocations: 59.84 kB / 0.7996 GB, free: 14.86 MB / 0.6231 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.001246/0.3174, allocations: 0.9581 MB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007183/0.3182, allocations: 264.1 kB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3182, allocations: 0 / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.3185, allocations: 135.9 kB / 0.8009 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.319, allocations: 39.23 kB / 0.801 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.3216, allocations: 1.496 MB / 0.8024 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3219, allocations: 0.7314 MB / 0.8031 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.3221, allocations: 44.83 kB / 0.8032 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3223, allocations: 63.41 kB / 0.8032 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of SimCode: time 4.6e-07/0.3223, allocations: 3.938 kB / 0.8032 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.3379, allocations: 4.393 MB / 0.8075 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.3381, allocations: 199.7 kB / 0.8077 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.264, allocations: 0 / 0.8077 GB, free: 6.613 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) Environment - environmentSimulation: