Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_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.001533/0.001533, allocations: 102 kB / 16.27 MB, free: 5.969 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.001274/0.001274, allocations: 189.9 kB / 17.19 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8176/0.8176, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 0.4959 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2913, allocations: 78.86 MB / 0.5729 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002749/0.2941, allocations: 2.036 MB / 0.5749 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.2977, allocations: 4.051 MB / 0.5788 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.2978, allocations: 1.375 kB / 0.5788 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.2985, allocations: 199.3 kB / 0.579 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2986, allocations: 68.78 kB / 0.5791 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2991, allocations: 269.8 kB / 0.5793 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.2996, allocations: 379.5 kB / 0.5797 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2997, allocations: 54.66 kB / 0.5797 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2998, allocations: 114.5 kB / 0.5798 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3, allocations: 122.3 kB / 0.58 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.3, allocations: 16.56 kB / 0.58 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.3004, allocations: 303.5 kB / 0.5803 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3005, allocations: 102.5 kB / 0.5804 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.3006, allocations: 149.8 kB / 0.5805 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.301, allocations: 0.5052 MB / 0.581 GB, free: 25.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.301, allocations: 0 / 0.581 GB, free: 25.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3011, allocations: 3.984 kB / 0.581 GB, free: 25.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3011, allocations: 1.188 kB / 0.581 GB, free: 25.14 MB / 446.1 MB 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.001101/0.3022, allocations: 0.7442 MB / 0.5817 GB, free: 24.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3022, allocations: 13.5 kB / 0.5817 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.3023, allocations: 38.09 kB / 0.5818 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.3023, allocations: 38.47 kB / 0.5818 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3027, allocations: 333.5 kB / 0.5821 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3027, allocations: 13.62 kB / 0.5822 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3028, allocations: 9.656 kB / 0.5822 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3033, allocations: 193.2 kB / 0.5823 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3033, allocations: 0 / 0.5823 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3033, allocations: 5.406 kB / 0.5824 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3033, allocations: 2.531 kB / 0.5824 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.304, allocations: 251.6 kB / 0.5826 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.3048, allocations: 0.5952 MB / 0.5832 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.3052, allocations: 171.7 kB / 0.5833 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3056, allocations: 138.9 kB / 0.5835 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.3056, allocations: 20.83 kB / 0.5835 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3057, allocations: 31.53 kB / 0.5835 GB, free: 23.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3057, allocations: 1.75 kB / 0.5835 GB, free: 23.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001226/0.3069, allocations: 442.6 kB / 0.5839 GB, free: 23.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.3069, allocations: 53.03 kB / 0.584 GB, free: 22.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3073, allocations: 410.3 kB / 0.5844 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3073, allocations: 30.89 kB / 0.5844 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.3074, allocations: 184.2 kB / 0.5846 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3074, allocations: 36.86 kB / 0.5846 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.3075, allocations: 40.06 kB / 0.5847 GB, free: 22.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.3075, allocations: 347.8 kB / 0.585 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.3079, allocations: 165.4 kB / 0.5852 GB, free: 22.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3083, allocations: 169.9 kB / 0.5853 GB, free: 21.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.3091, allocations: 356.6 kB / 0.5857 GB, free: 21.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3091, allocations: 0 / 0.5857 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008904/0.31, allocations: 469.2 kB / 0.5861 GB, free: 21.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.31, allocations: 46.69 kB / 0.5861 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.31, allocations: 0 / 0.5861 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3101, allocations: 5.375 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3104, allocations: 49.34 kB / 0.5862 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3104, allocations: 1.5 kB / 0.5862 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.3106, allocations: 38.97 kB / 0.5862 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3107, allocations: 8.234 kB / 0.5862 GB, free: 21.5 MB / 446.1 MB 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.000111/0.3108, allocations: 159.5 kB / 0.5864 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3109, allocations: 29.94 kB / 0.5864 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.3117, allocations: 343.4 kB / 0.5868 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3118, allocations: 5.219 kB / 0.5868 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3118, allocations: 4.859 kB / 0.5868 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3118, allocations: 5.656 kB / 0.5868 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.312, allocations: 337 kB / 0.5871 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3121, allocations: 2.781 kB / 0.5871 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.3123, allocations: 49.28 kB / 0.5871 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3124, allocations: 1.125 kB / 0.5871 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3124, allocations: 9.078 kB / 0.5872 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3124, allocations: 4.875 kB / 0.5872 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3124, allocations: 1.312 kB / 0.5872 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.3132, allocations: 419.3 kB / 0.5876 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.3133, allocations: 126 kB / 0.5877 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.3133, allocations: 3.219 kB / 0.5877 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.3136, allocations: 34.45 kB / 0.5877 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3137, allocations: 12.98 kB / 0.5877 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3137, allocations: 8.453 kB / 0.5877 GB, free: 20.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3139, allocations: 290.6 kB / 0.588 GB, free: 20.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3139, allocations: 0.7188 kB / 0.588 GB, free: 20.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.3144, allocations: 113.4 kB / 0.5881 GB, free: 20.22 MB / 446.1 MB 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.001141/0.3155, allocations: 1.026 MB / 0.5891 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009356/0.3165, allocations: 0.5065 MB / 0.5896 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3165, allocations: 0 / 0.5896 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.3169, allocations: 149.9 kB / 0.5898 GB, free: 19.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.3173, allocations: 59.58 kB / 0.5898 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.322, allocations: 4.199 MB / 0.5939 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3222, allocations: 0.7866 MB / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3224, allocations: 49.44 kB / 0.5947 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3225, allocations: 99.39 kB / 0.5948 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3225, allocations: 4 kB / 0.5948 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3492, allocations: 8.223 MB / 0.6029 GB, free: 6.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.096, allocations: 11.91 kB / 0.6029 GB, free: 6.812 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)