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.001597/0.001597, allocations: 108 kB / 15.61 MB, free: 152 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.002004/0.002004, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001554/0.001554, allocations: 71.44 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004811/0.276, allocations: 2.024 MB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.2815, allocations: 3.683 MB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2817, allocations: 0 / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.2821, allocations: 59.56 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.2825, allocations: 103.3 kB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.283, allocations: 127.7 kB / 0.7893 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.2834, allocations: 259.1 kB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2835, allocations: 44.38 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2838, allocations: 115.5 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.284, allocations: 115.5 kB / 0.7898 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.2841, allocations: 16 kB / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.2844, allocations: 119.8 kB / 0.79 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2845, allocations: 47.83 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2846, allocations: 99.41 kB / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.2851, allocations: 271.1 kB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2851, allocations: 0 / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2851, allocations: 4 kB / 0.7904 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2851, allocations: 0 / 0.7904 GB, free: 6.285 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.001218/0.2863, allocations: 0.58 MB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2864, allocations: 19.97 kB / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.2864, allocations: 42.73 kB / 0.791 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.2865, allocations: 20.66 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.287, allocations: 271.6 kB / 0.7913 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.287, allocations: 4.375 kB / 0.7913 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.2871, allocations: 8.375 kB / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.2876, allocations: 173.5 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2876, allocations: 0 / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2877, allocations: 0 / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2877, allocations: 4 kB / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.2884, allocations: 198.5 kB / 0.7916 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.2894, allocations: 496.3 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.2899, allocations: 130.4 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.2903, allocations: 108.8 kB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/0.2912, allocations: 0.5532 MB / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.2913, allocations: 30.56 kB / 0.7929 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.2913, allocations: 0 / 0.7929 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001341/0.2926, allocations: 345.7 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2927, allocations: 67.28 kB / 0.7933 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.2929, allocations: 234.7 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.293, allocations: 29.7 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.2931, allocations: 148 kB / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.2931, allocations: 39.39 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.2932, allocations: 33.69 kB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2934, allocations: 326.8 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2937, allocations: 95.91 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2941, allocations: 99.95 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.2948, allocations: 196.7 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2948, allocations: 0 / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008114/0.2956, allocations: 257.2 kB / 0.7947 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2957, allocations: 4 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2957, allocations: 0 / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2957, allocations: 7.938 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.2961, allocations: 43.94 kB / 0.7947 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2961, allocations: 3.938 kB / 0.7947 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2964, allocations: 31.88 kB / 0.7948 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2964, allocations: 7.984 kB / 0.7948 GB, free: 1.402 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.2965, allocations: 126.5 kB / 0.7949 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2966, allocations: 23.72 kB / 0.7949 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.2975, allocations: 287 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2975, allocations: 4 kB / 0.7952 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2975, allocations: 3.938 kB / 0.7952 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2975, allocations: 3.938 kB / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.2979, allocations: 269.5 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2979, allocations: 4 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.2982, allocations: 39.95 kB / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2982, allocations: 0 / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2982, allocations: 7.984 kB / 0.7955 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2982, allocations: 0 / 0.7955 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2982, allocations: 3.938 kB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.2991, allocations: 363 kB / 0.7959 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2992, allocations: 116.7 kB / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.2993, allocations: 0 / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.2996, allocations: 35.95 kB / 0.796 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.2996, allocations: 15.92 kB / 0.796 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2997, allocations: 4 kB / 0.796 GB, free: 28 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001779/0.2998, allocations: 170 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2999, allocations: 0 / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003513/0.3002, allocations: 52 kB / 0.7962 GB, free: 15.81 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 (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.001418/0.3016, allocations: 0.9234 MB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008624/0.3025, allocations: 227.8 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3025, allocations: 4 kB / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.303, allocations: 111.9 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3035, allocations: 38.77 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.3079, allocations: 2.458 MB / 0.7999 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3083, allocations: 0.7314 MB / 0.8006 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.3085, allocations: 40.84 kB / 0.8007 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3087, allocations: 71.39 kB / 0.8007 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/0.3087, allocations: 0 / 0.8007 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.3335, allocations: 4.919 MB / 0.8055 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.194, allocations: 14.12 kB / 0.8056 GB, free: 6.301 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)