Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.001131/0.001131, 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.001175/0.001175, allocations: 195 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.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.786/1.786, 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.002153/0.002153, allocations: 66.06 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2687, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004455/0.2733, allocations: 1.401 MB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004465/0.2778, allocations: 1.932 MB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.2779, allocations: 0 / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.28, allocations: 385.4 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.2801, allocations: 23.84 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.051e-06/0.2802, allocations: 0 / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.2805, allocations: 119.2 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2806, allocations: 21.5 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2807, allocations: 47.8 kB / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2809, allocations: 55.72 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.281, allocations: 4 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009526/0.2819, allocations: 183.9 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.282, allocations: 27.89 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2822, allocations: 79.55 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00083/0.2831, allocations: 287.1 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2831, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2831, allocations: 0 / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.2831, allocations: 0 / 0.7879 GB, free: 8.789 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00123/0.2844, allocations: 0.4907 MB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.2844, allocations: 12.03 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.188e-05/0.2845, allocations: 106 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.2849, allocations: 96.03 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.2853, allocations: 295.2 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.2854, allocations: 150.9 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.2855, allocations: 158.9 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.2856, allocations: 104.9 kB / 0.7893 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.2857, allocations: 75.28 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.2858, allocations: 158.5 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/0.2859, allocations: 150.6 kB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.286, allocations: 158.5 kB / 0.7898 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.2866, allocations: 0.5017 MB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2867, allocations: 165.1 kB / 0.7904 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.2868, allocations: 80.14 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.2869, allocations: 91.14 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/0.2869, allocations: 113.8 kB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.287, allocations: 0 / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0003305/0.2873, allocations: 45.5 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.2874, allocations: 134.7 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.288, allocations: 318.3 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.288, allocations: 25.7 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2882, allocations: 124.4 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-06/0.2882, allocations: 0 / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.2883, allocations: 65.62 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2885, allocations: 330.8 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2887, allocations: 59.95 kB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2889, allocations: 125.7 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.2894, allocations: 205.9 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2894, allocations: 0 / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008653/0.2903, allocations: 237.2 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.2904, allocations: 8 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2904, allocations: 0 / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2904, allocations: 4 kB / 0.7923 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-06/0.2904, allocations: 3.984 kB / 0.7923 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.2905, allocations: 12.28 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.2907, allocations: 27.53 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2907, allocations: 8 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.000324/0.2911, allocations: 229.7 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2912, allocations: 120.7 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.2913, allocations: 109.9 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.531e-05/0.2914, allocations: 196.2 kB / 0.793 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.993e-05/0.2915, allocations: 176.3 kB / 0.7932 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/0.2916, allocations: 180.2 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.292, allocations: 449.2 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/0.2921, allocations: 104.9 kB / 0.7939 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.2922, allocations: 108.9 kB / 0.794 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.993e-05/0.2923, allocations: 180.3 kB / 0.7941 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.2924, allocations: 180.2 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-05/0.2925, allocations: 184.2 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.944e-05/0.2926, allocations: 184.2 kB / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.2928, allocations: 315.6 kB / 0.795 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.293, allocations: 205.7 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2931, allocations: 184.2 kB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2933, allocations: 101 kB / 0.7954 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.2934, allocations: 184.2 kB / 0.7956 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.2935, allocations: 109.3 kB / 0.7957 GB, free: 292 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003341/0.2939, allocations: 213.9 kB / 0.7959 GB, free: 80 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2939, allocations: 0 / 0.7959 GB, free: 80 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006512/0.2945, allocations: 67.98 kB / 0.796 GB, free: 12 kB / 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 (0): * Single equations (assignments): 0 * 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.0008777/0.2954, allocations: 0.9256 MB / 0.7969 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002969/0.2958, allocations: 103.8 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2958, allocations: 0 / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.2958, allocations: 448 / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.2964, allocations: 469 kB / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.3002, allocations: 2.421 MB / 0.7998 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3006, allocations: 0.747 MB / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.3006, allocations: 0 / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.3007, allocations: 35.42 kB / 0.8005 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.3007, allocations: 0 / 0.8005 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.324, allocations: 4.796 MB / 0.8052 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.971, allocations: 11.78 kB / 0.8052 GB, free: 6.473 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)